Pagini recente » Borderou de evaluare (job #2468650) | Borderou de evaluare (job #2146921) | Borderou de evaluare (job #1490140) | Borderou de evaluare (job #1648129) | Borderou de evaluare (job #1535005)
Borderou de evaluare (job #1535005)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25: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:26: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:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:28:52: 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("%lld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 752kb | OK | 10 |
2 | 44ms | 1848kb | OK | 10 |
3 | 68ms | 4692kb | OK | 10 |
4 | 148ms | 8084kb | OK | 10 |
5 | 20ms | 1532kb | OK | 10 |
6 | 12ms | 1060kb | OK | 10 |
7 | 24ms | 1688kb | OK | 10 |
8 | 0ms | 360kb | OK | 10 |
9 | 0ms | 340kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |