Pagini recente » Borderou de evaluare (job #2268046) | Borderou de evaluare (job #1114568) | Borderou de evaluare (job #3203252) | Borderou de evaluare (job #1241334)
Borderou de evaluare (job #1241334)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",tot);
^
user.cpp:32:8: warning: unused variable ‘j’ [-Wunused-variable]
{int i,j;
^
user.cpp:33:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:35:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {fscanf(f,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | OK | 10 |
2 | 4ms | 440kb | OK | 10 |
3 | 16ms | 672kb | Incorect | 0 |
4 | 24ms | 904kb | OK | 10 |
5 | 40ms | 1220kb | Incorect | 0 |
6 | 48ms | 1380kb | Incorect | 0 |
7 | 64ms | 1532kb | Incorect | 0 |
8 | 64ms | 1684kb | Incorect | 0 |
9 | 76ms | 1828kb | Incorect | 0 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 40 |