Pagini recente » Borderou de evaluare (job #819062) | Borderou de evaluare (job #990561) | Borderou de evaluare (job #2000700) | Borderou de evaluare (job #1796278) | Borderou de evaluare (job #1938984)
Borderou de evaluare (job #1938984)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&n);
^
user.cpp:13:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin,"%d",&v[i]);
^
user.cpp:23:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout,"%d ",rez[i]);
^
user.cpp:11: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:13:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 120ms | 3556kb | Incorect | 0 |
4 | 252ms | 6680kb | Incorect | 0 |
5 | 248ms | 6680kb | Incorect | 0 |
6 | 416ms | 11372kb | Incorect | 0 |
7 | 504ms | 12928kb | Incorect | 0 |
8 | 592ms | 16052kb | Incorect | 0 |
9 | 596ms | 16056kb | Incorect | 0 |
10 | 624ms | 16048kb | Incorect | 0 |
Punctaj total | 20 |