Pagini recente »
Istoria paginii runda/lmk_vs_10_2023/clasament
|
Borderou de evaluare (job #610434)
|
2018-11-08-clasa-6-tema-8
|
Borderou de evaluare (job #629908)
|
Borderou de evaluare (job #693722)
Borderou de evaluare (job #693722)
Raport evaluator
Compilare:
main.cpp: In function 'void read_vector(int, int*)':
main.cpp:128:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
128 | scanf("%d", &v[i]);
| ~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:171:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
171 | freopen("joc10.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:172:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
172 | freopen("joc10.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:175:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
175 | scanf("%d", &c);
| ~~~~~^~~~~~~~~~
main.cpp:178:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
178 | scanf("%d%d", &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~
main.cpp:184:23: warning: iteration 5 invokes undefined behavior [-Waggressive-loop-optimizations]
184 | cnt_ts[i] = 0;
| ~~~~~~~~~~^~~
main.cpp:183:26: note: within this loop
183 | for (int i = 0;i <= 5;i++) {
| ~~^~~~
main.cpp:184:21: warning: array subscript 5 is above array bounds of 'int [5]' [-Warray-bounds]
184 | cnt_ts[i] = 0;
| ~~~~~~~~^
main.cpp:6:5: note: while referencing 'cnt_ts'
6 | int cnt_ts[5];
| ^~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
118 kb
|
OK
|
2
|
2
|
1 ms
|
118 kb
|
OK
|
2
|
3
|
8 ms
|
114 kb
|
OK
|
2
|
4
|
1 ms
|
118 kb
|
OK
|
2
|
5
|
1 ms
|
118 kb
|
OK
|
2
|
6
|
1 ms
|
118 kb
|
OK
|
2
|
7
|
1 ms
|
118 kb
|
OK
|
2
|
8
|
7 ms
|
118 kb
|
OK
|
2
|
9
|
23 ms
|
118 kb
|
OK
|
2
|
10
|
55 ms
|
241 kb
|
OK
|
2
|
11
|
144 ms
|
249 kb
|
OK
|
2
|
12
|
51 ms
|
249 kb
|
OK
|
2
|
13
|
169 ms
|
245 kb
|
OK
|
2
|
14
|
129 ms
|
245 kb
|
OK
|
2
|
15
|
161 ms
|
245 kb
|
OK
|
2
|
16
|
302 ms
|
249 kb
|
Time limit exceeded
|
0
|
17
|
299 ms
|
249 kb
|
OK
|
2
|
18
|
144 ms
|
245 kb
|
OK
|
2
|
19
|
245 ms
|
245 kb
|
OK
|
2
|
20
|
305 ms
|
245 kb
|
Time limit exceeded
|
0
|
21
|
1 ms
|
118 kb
|
Incorect
|
0
|
22
|
1 ms
|
118 kb
|
Incorect
|
0
|
23
|
1 ms
|
118 kb
|
Incorect
|
0
|
24
|
1 ms
|
114 kb
|
Incorect
|
0
|
25
|
1 ms
|
118 kb
|
Incorect
|
0
|
26
|
2 ms
|
118 kb
|
Incorect
|
0
|
27
|
1 ms
|
118 kb
|
Incorect
|
0
|
28
|
1 ms
|
118 kb
|
Incorect
|
0
|
29
|
1 ms
|
118 kb
|
Incorect
|
0
|
30
|
1 ms
|
114 kb
|
Incorect
|
0
|
31
|
1 ms
|
249 kb
|
Incorect
|
0
|
32
|
1 ms
|
118 kb
|
Incorect
|
0
|
33
|
1 ms
|
118 kb
|
Incorect
|
0
|
34
|
1 ms
|
249 kb
|
Incorect
|
0
|
35
|
1 ms
|
118 kb
|
Incorect
|
0
|
36
|
1 ms
|
245 kb
|
Incorect
|
0
|
37
|
1 ms
|
249 kb
|
Incorect
|
0
|
38
|
1 ms
|
118 kb
|
Incorect
|
0
|
39
|
1 ms
|
249 kb
|
Incorect
|
0
|
40
|
1 ms
|
245 kb
|
Incorect
|
0
|
41
|
301 ms
|
245 kb
|
Time limit exceeded
|
0
|
42
|
302 ms
|
249 kb
|
Time limit exceeded
|
0
|
43
|
154 ms
|
245 kb
|
OK
|
2
|
44
|
250 ms
|
376 kb
|
OK
|
2
|
45
|
307 ms
|
249 kb
|
Time limit exceeded
|
0
|
46
|
1 ms
|
245 kb
|
Incorect
|
0
|
47
|
1 ms
|
249 kb
|
Incorect
|
0
|
48
|
1 ms
|
118 kb
|
Incorect
|
0
|
49
|
1 ms
|
245 kb
|
Incorect
|
0
|
50
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
40
|