Pagini recente »
Borderou de evaluare (job #692890)
Borderou de evaluare (job #692890)
Raport evaluator
Compilare:
main.cpp: In function 'void read_vector(int, int*)':
main.cpp:7:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | scanf("%d", &v[i]);
| ~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:40:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
40 | freopen("puzzle3.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:41:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | freopen("puzzle3.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:44:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
44 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
5
|
2
|
1 ms
|
114 kb
|
OK
|
7
|
3
|
1 ms
|
118 kb
|
OK
|
8
|
4
|
29 ms
|
118 kb
|
OK
|
10
|
5
|
506 ms
|
118 kb
|
Time limit exceeded
|
0
|
6
|
509 ms
|
245 kb
|
Time limit exceeded
|
0
|
7
|
503 ms
|
245 kb
|
Time limit exceeded
|
0
|
8
|
508 ms
|
385 kb
|
Time limit exceeded
|
0
|
9
|
502 ms
|
512 kb
|
Time limit exceeded
|
0
|
10
|
501 ms
|
507 kb
|
Time limit exceeded
|
0
|
11
|
1 ms
|
114 kb
|
Pomana, pentru ca la OJI sunt 10 puncte din oficiu
|
10
|
Punctaj total
|
40
|