Pagini recente »
Borderou de evaluare (job #153722)
|
Borderou de evaluare (job #615074)
|
Borderou de evaluare (job #726443)
|
Borderou de evaluare (job #435066)
|
Borderou de evaluare (job #709246)
Borderou de evaluare (job #709246)
Raport evaluator
Compilare:
main.cpp: In function 'int is_valid(int)':
main.cpp:21:8: warning: unused variable 'm' [-Wunused-variable]
21 | int m = 0;
| ^
main.cpp: In function 'void read_vector(int, int*)':
main.cpp:9:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%d", &v[i]);
| ~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:53:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
53 | freopen("pyk.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
main.cpp:54:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
54 | freopen("pyk.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:57:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
57 | scanf("%d", &p);
| ~~~~~^~~~~~~~~~
main.cpp:60:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
60 | scanf("%d%d", &k,&n);
| ~~~~~^~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
241 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
OK
|
1
|
4
|
1 ms
|
241 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
OK
|
1
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
OK
|
1
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
2 ms
|
245 kb
|
OK
|
1
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
29 ms
|
503 kb
|
OK
|
1
|
12
|
2 ms
|
249 kb
|
Incorect
|
0
|
13
|
9 ms
|
249 kb
|
OK
|
1
|
14
|
1 ms
|
249 kb
|
Incorect
|
0
|
15
|
9 ms
|
249 kb
|
OK
|
1
|
16
|
1 ms
|
245 kb
|
Incorect
|
0
|
17
|
9 ms
|
249 kb
|
OK
|
1
|
18
|
8 ms
|
245 kb
|
Incorect
|
0
|
19
|
9 ms
|
249 kb
|
OK
|
1
|
20
|
9 ms
|
245 kb
|
Incorect
|
0
|
21
|
13 ms
|
245 kb
|
Incorect
|
0
|
22
|
9 ms
|
249 kb
|
Incorect
|
0
|
23
|
9 ms
|
249 kb
|
Incorect
|
0
|
24
|
9 ms
|
249 kb
|
Incorect
|
0
|
25
|
9 ms
|
249 kb
|
Incorect
|
0
|
26
|
19 ms
|
245 kb
|
Incorect
|
0
|
27
|
18 ms
|
249 kb
|
Incorect
|
0
|
28
|
26 ms
|
512 kb
|
OK
|
5
|
29
|
29 ms
|
503 kb
|
Incorect
|
0
|
30
|
29 ms
|
507 kb
|
Incorect
|
0
|
31
|
29 ms
|
507 kb
|
Incorect
|
0
|
Punctaj total
|
14
|