Pagini recente » Borderou de evaluare (job #2008158) | Borderou de evaluare (job #1267292) | Borderou de evaluare (job #1266606) | Borderou de evaluare (job #373368) | Borderou de evaluare (job #1246269)
Borderou de evaluare (job #1246269)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:45:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&v[i]);
^
user.cpp:42: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:45:29: 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 |
Punctaj/grupa |
1 | 0ms | 272kb | Corect! | 10 | 10 |
2 | 0ms | 296kb | Corect! | 10 | 10 |
3 | 0ms | 264kb | Corect! | 10 | 10 |
4 | 0ms | 264kb | Corect! | 10 | 10 |
5 | 0ms | 272kb | Corect! | 10 | 10 |
6 | 0ms | 272kb | Corect! | 10 | 10 |
7 | 0ms | 280kb | Corect! | 10 | 10 |
8 | 44ms | 1036kb | Corect! | 10 | 30 |
9 | 32ms | 1036kb | Corect! | 10 |
10 | 40ms | 1044kb | Corect! | 10 |
Punctaj total | 100 |