Pagini recente » Borderou de evaluare (job #1789102) | Borderou de evaluare (job #1687268) | Borderou de evaluare (job #2157804) | Borderou de evaluare (job #715610) | Borderou de evaluare (job #1938983)
Borderou de evaluare (job #1938983)
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 | 444kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 128ms | 3560kb | Incorect | 0 |
4 | 244ms | 6680kb | Incorect | 0 |
5 | 236ms | 6688kb | Incorect | 0 |
6 | 436ms | 11368kb | Incorect | 0 |
7 | 504ms | 12936kb | Incorect | 0 |
8 | 624ms | 16052kb | Incorect | 0 |
9 | 636ms | 16056kb | Incorect | 0 |
10 | 600ms | 16048kb | Incorect | 0 |
Punctaj total | 20 |