Pagini recente » Borderou de evaluare (job #219873) | Borderou de evaluare (job #2194778) | Borderou de evaluare (job #1402116) | Borderou de evaluare (job #1064760) | Borderou de evaluare (job #2026966)
Borderou de evaluare (job #2026966)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&v[0]);
^
user.cpp:18:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&v[i]);
^
user.cpp:33:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",s[i]);
^
user.cpp:14:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[0]);
^
user.cpp:18:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 864kb | OK | 10 |
2 | 40ms | 2224kb | Incorect | 0 |
3 | 120ms | 5788kb | Incorect | 0 |
4 | 248ms | 10020kb | Incorect | 0 |
5 | 40ms | 1836kb | Incorect | 0 |
6 | 24ms | 1252kb | Incorect | 0 |
7 | 28ms | 2028kb | OK | 10 |
8 | 0ms | 364kb | Incorect | 0 |
9 | 0ms | 348kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 40 |