Pagini recente » Borderou de evaluare (job #2670814) | Borderou de evaluare (job #1533879) | Borderou de evaluare (job #2497358) | Borderou de evaluare (job #888166) | Borderou de evaluare (job #2026968)
Borderou de evaluare (job #2026968)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:14: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:17: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:29:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",n-pi[n-1]);
^
user.cpp:32: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:13: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:14: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:17: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 | 976kb | OK | 10 |
2 | 40ms | 2612kb | Incorect | 0 |
3 | 124ms | 6884kb | Incorect | 0 |
4 | 252ms | 11960kb | Incorect | 0 |
5 | 40ms | 2144kb | Incorect | 0 |
6 | 24ms | 1440kb | Incorect | 0 |
7 | 28ms | 2376kb | OK | 10 |
8 | 0ms | 376kb | Incorect | 0 |
9 | 0ms | 364kb | OK | 10 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 40 |