Pagini recente »
Borderou de evaluare (job #688180)
|
Borderou de evaluare (job #651093)
|
Borderou de evaluare (job #290982)
|
Borderou de evaluare (job #801484)
|
Borderou de evaluare (job #808083)
Borderou de evaluare (job #808083)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:43: warning: unused variable 'cif' [-Wunused-variable]
17 | int a, copie, x1, x2, g = 0, nr1, cif = 1;
| ^~~
main.cpp:104:43: warning: unused variable 'cif' [-Wunused-variable]
104 | int a, copie, x1, x2, g = 0, nr1, cif = 1, tmax = -1, t = 0, nrmax[11], y = 1;
| ^~~
main.cpp:178:29: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
178 | if (f3[k] > 0)
| ~~~~^
main.cpp:176:35: note: within this loop
176 | for (int k = 1; k <= 10; k++)
| ~~^~~~~
main.cpp:189:27: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations]
189 | f3[k] = 0;
| ~~~~~~^~~
main.cpp:188:35: note: within this loop
188 | for (int k = 0; k <= 10; k++)
| ~~^~~~~
main.cpp:189:27: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [40, 43] is out of the bounds [0, 40] of object 'f3' with type 'int [10]' [-Warray-bounds=]
189 | f3[k] = 0;
| ~~~~~~^~~
main.cpp:9:32: note: 'f3' declared here
9 | int v[100001], f1[10], f2[10], f3[10];
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
4
|
2
|
1 ms
|
245 kb
|
OK
|
4
|
3
|
2 ms
|
139 kb
|
OK
|
4
|
4
|
1 ms
|
245 kb
|
OK
|
4
|
5
|
1 ms
|
245 kb
|
OK
|
4
|
6
|
1 ms
|
245 kb
|
OK
|
4
|
7
|
1 ms
|
245 kb
|
OK
|
4
|
8
|
1 ms
|
249 kb
|
OK
|
4
|
9
|
9 ms
|
507 kb
|
OK
|
3
|
10
|
9 ms
|
249 kb
|
OK
|
3
|
11
|
9 ms
|
249 kb
|
OK
|
3
|
12
|
29 ms
|
512 kb
|
OK
|
3
|
13
|
29 ms
|
507 kb
|
OK
|
3
|
14
|
49 ms
|
770 kb
|
OK
|
3
|
15
|
69 ms
|
507 kb
|
OK
|
3
|
16
|
2 ms
|
245 kb
|
Incorect
|
0
|
17
|
1 ms
|
245 kb
|
Incorect
|
0
|
18
|
29 ms
|
512 kb
|
Incorect
|
0
|
19
|
1 ms
|
266 kb
|
Incorect
|
0
|
20
|
1 ms
|
245 kb
|
Incorect
|
0
|
21
|
1 ms
|
245 kb
|
Incorect
|
0
|
22
|
2 ms
|
245 kb
|
Incorect
|
0
|
23
|
1 ms
|
245 kb
|
Incorect
|
0
|
24
|
1 ms
|
249 kb
|
Incorect
|
0
|
25
|
9 ms
|
245 kb
|
Incorect
|
0
|
26
|
9 ms
|
249 kb
|
Incorect
|
0
|
27
|
29 ms
|
249 kb
|
Incorect
|
0
|
28
|
39 ms
|
774 kb
|
Incorect
|
0
|
29
|
79 ms
|
507 kb
|
Incorect
|
0
|
30
|
79 ms
|
507 kb
|
Incorect
|
0
|
Punctaj total
|
53
|