Pagini recente » Profil ProBatman | Cod sursa (job #980973) | Cod sursa (job #233197) | Monitorul de evaluare | Borderou de evaluare (job #2588188)
Borderou de evaluare (job #2588188)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:20: warning: unknown conversion type character 0x20 in format [-Wformat=]
fscanf(fin, "%l %d ", &k, &p);
^
main.c:9:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
fscanf(fin, "%l %d ", &k, &p);
^
main.c:9:17: warning: too many arguments for format [-Wformat-extra-args]
fscanf(fin, "%l %d ", &k, &p);
^~~~~~~~
main.c:13:20: warning: unknown conversion type character 0x20 in format [-Wformat=]
fscanf(fin, "%l ", &x);
^
main.c:13:17: warning: too many arguments for format [-Wformat-extra-args]
fscanf(fin, "%l ", &x);
^~~~~
main.c:17:24: warning: unknown conversion type character 0x20 in format [-Wformat=]
fscanf(fin, "%l ", &y);
^
main.c:17:21: warning: too many arguments for format [-Wformat-extra-args]
fscanf(fin, "%l ", &y);
^~~~~
main.c:34:21: warning: conversion lacks type at end of format [-Wformat=]
fprintf(fout, "%l", sum);
^
main.c:34:19: warning: too many arguments for format [-Wformat-extra-args]
fprintf(fout, "%l", sum);
^~~~
main.c:9:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%l %d ", &k, &p);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%l ", &x);
^~~~~~~~~~~~~~~~~~~~~~
main.c:17:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%l ", &y);
^~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 303ms | 131kb | Time limit exceeded | 0 |
| 2 | 300ms | 131kb | Time limit exceeded | 0 |
| 3 | 303ms | 131kb | Time limit exceeded | 0 |
| 4 | 303ms | 131kb | Time limit exceeded | 0 |
| 5 | 303ms | 131kb | Time limit exceeded | 0 |
| 6 | 300ms | 131kb | Time limit exceeded | 0 |
| 7 | 303ms | 131kb | Time limit exceeded | 0 |
| 8 | 300ms | 131kb | Time limit exceeded | 0 |
| 9 | 303ms | 131kb | Time limit exceeded | 0 |
| 10 | 300ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 0 |