Pagini recente » Borderou de evaluare (job #1442476) | Borderou de evaluare (job #719710) | Borderou de evaluare (job #1243790) | Borderou de evaluare (job #2502180) | Borderou de evaluare (job #1214672)
Borderou de evaluare (job #1214672)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[k]);
^
user.cpp:68:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sum);
^
user.cpp:35:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.in","r",stdin);
^
user.cpp:36:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.out","w",stdout);
^
user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:42:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[k]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 4ms | 416kb | OK | 10 |
5 | 40ms | 1828kb | Incorect | 0 |
6 | Depăşit | 6492kb | Time limit exceeded. | 0 |
7 | Depăşit | 10248kb | Time limit exceeded. | 0 |
8 | Depăşit | 7272kb | Time limit exceeded. | 0 |
9 | Depăşit | 7452kb | Time limit exceeded. | 0 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 50 |