Pagini recente » Borderou de evaluare (job #908739) | Borderou de evaluare (job #1618468) | Borderou de evaluare (job #3004456) | Borderou de evaluare (job #1940612) | Borderou de evaluare (job #1443681)
Borderou de evaluare (job #1443681)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fi, "%d", &v[i]);
^
user.cpp:28:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d", &n);
^
user.cpp:30:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d", &v[i]);
^
user.cpp:36:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d%d", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 1028kb | OK | 10 |
| 2 | 0ms | 400kb | OK | 10 |
| 3 | 0ms | 396kb | OK | 10 |
| 4 | 0ms | 396kb | OK | 10 |
| 5 | 0ms | 392kb | OK | 10 |
| 6 | 0ms | 400kb | OK | 10 |
| 7 | 8ms | 848kb | OK | 10 |
| 8 | 16ms | 1032kb | OK | 10 |
| 9 | 16ms | 1036kb | OK | 10 |
| 10 | 16ms | 1028kb | OK | 10 |
| Punctaj total | 100 |