Pagini recente » Cod sursa (job #854117) | Cod sursa (job #1938378) | Cod sursa (job #2377878) | Cod sursa (job #3236613) | Borderou de evaluare (job #1269196)
Borderou de evaluare (job #1269196)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(input, "%ld %ld %ld", &a, &b, &c);
^
user.cpp:17:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:17:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:19:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(output, "%ld", result);
^
user.cpp:17:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%ld %ld %ld", &a, &b, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 292kb | Incorect | 0 |
| 2 | 0ms | 296kb | Incorect | 0 |
| 3 | 0ms | 300kb | Incorect | 0 |
| 4 | 0ms | 300kb | Incorect | 0 |
| 5 | 0ms | 296kb | Incorect | 0 |
| 6 | 0ms | 292kb | Incorect | 0 |
| 7 | 0ms | 300kb | Incorect | 0 |
| 8 | 0ms | 296kb | Incorect | 0 |
| 9 | 0ms | 296kb | Incorect | 0 |
| 10 | 0ms | 292kb | Incorect | 0 |
| Punctaj total | 0 |