Pagini recente » Borderou de evaluare (job #576107) | Borderou de evaluare (job #2192591) | Borderou de evaluare (job #3198440) | Borderou de evaluare (job #2876672) | Borderou de evaluare (job #1905529)
Borderou de evaluare (job #1905529)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(in, "r", stdin);
^
user.cpp:43:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(out, "w", stdout);
^
user.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:45:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i<= n; ++i) scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | OK | 10 |
2 | 0ms | 336kb | OK | 10 |
3 | 0ms | 372kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 8ms | 1036kb | OK | 10 |
6 | 12ms | 1188kb | OK | 10 |
7 | 12ms | 1352kb | OK | 10 |
8 | 16ms | 1476kb | OK | 10 |
9 | 16ms | 1512kb | OK | 10 |
10 | 0ms | 296kb | OK | 10 |
Punctaj total | 100 |