Pagini recente » Borderou de evaluare (job #1374927) | Borderou de evaluare (job #2004613) | Borderou de evaluare (job #1665037) | Borderou de evaluare (job #94780) | Borderou de evaluare (job #2583249)
Borderou de evaluare (job #2583249)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:13:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &a[1]);
^
main.cpp:16:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
main.cpp:24:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &ans[i]);
^
main.cpp: In function 'int main()':
main.cpp:32:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.in", "r", stdin);
^
main.cpp:33:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zlego.out", "w", stdout);
^
main.cpp:36:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 12ms | 262kb | OK | 5 |
6 | 11ms | 262kb | OK | 5 |
7 | 13ms | 262kb | OK | 5 |
8 | 13ms | 262kb | OK | 5 |
9 | 14ms | 262kb | OK | 5 |
10 | 17ms | 393kb | OK | 5 |
11 | 627ms | 9961kb | OK | 5 |
12 | 635ms | 9961kb | OK | 5 |
13 | 744ms | 12189kb | OK | 5 |
14 | 751ms | 12189kb | OK | 5 |
15 | 766ms | 12845kb | OK | 5 |
16 | 653ms | 9961kb | OK | 5 |
17 | 631ms | 9830kb | OK | 5 |
18 | 727ms | 12189kb | OK | 5 |
19 | 881ms | 12087kb | OK | 5 |
20 | 774ms | 12845kb | OK | 5 |
Punctaj total | 100 |