Pagini recente » Borderou de evaluare (job #1381672) | Borderou de evaluare (job #2498064) | Borderou de evaluare (job #457406) | Borderou de evaluare (job #2056668) | Borderou de evaluare (job #1709342)
Borderou de evaluare (job #1709342)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:37:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &a[i]);
^
user.cpp:56:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", memo[0]);
^
user.cpp:33:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:37:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 432kb | OK | 10 | 100 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 436kb | OK | 10 |
5 | 0ms | 432kb | OK | 10 |
6 | 0ms | 448kb | OK | 10 |
7 | 0ms | 448kb | OK | 10 |
8 | 4ms | 588kb | OK | 10 |
9 | 32ms | 1996kb | OK | 10 |
10 | 28ms | 2000kb | OK | 10 |
Punctaj total | 100 |