Pagini recente » Borderou de evaluare (job #797783) | Borderou de evaluare (job #2021461) | Borderou de evaluare (job #794729) | Borderou de evaluare (job #91043) | Borderou de evaluare (job #1454364)
Borderou de evaluare (job #1454364)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicsequence.in", "r", stdin);
^
user.cpp:10:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("magicsequence.out", "w", stdout);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:17:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; ++i) scanf("%d", v + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 12ms | 292kb | OK | 10 |
5 | 28ms | 292kb | OK | 10 |
6 | 44ms | 312kb | OK | 10 |
7 | 52ms | 320kb | OK | 10 |
8 | 4ms | 260kb | OK | 10 |
9 | 60ms | 292kb | OK | 10 |
10 | 124ms | 324kb | OK | 10 |
Punctaj total | 100 |