Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
19 Octombrie 2024, 22:26 |
c++14 |
67.0 |
main.cpp: In function ‘void s()’:
main.cpp:41:30: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations]
41 | ss[i] = ss[i - 1] + sum[i];
| ~~~~~^
main.cpp:40:21: note: within this loop
40 | for (i64 i = 1; i <= MAX; i++) {
| ~~^~~~~~
Subtask |
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
|---|---|---|---|---|
|
1,
2,
3
|
1
|
correct |
0,114 |
13.68MB |
|
1,
2,
3
|
2
|
correct |
0,088 |
16.31MB |
|
1,
2,
3
|
3
|
correct |
0,114 |
14.21MB |
|
1,
2,
3
|
4
|
correct |
0,085 |
11.59MB |
|
1,
2,
3
|
5
|
correct |
0,114 |
14.86MB |
|
2,
3
|
6
|
correct |
0,134 |
17.22MB |
|
2,
3
|
7
|
correct |
0,134 |
17.22MB |
|
2,
3
|
8
|
correct |
0,132 |
17.22MB |
|
2,
3
|
9
|
correct |
0,132 |
17.22MB |
|
2,
3
|
10
|
correct |
0,133 |
17.22MB |
|
2,
3
|
11
|
correct |
0,102 |
17.22MB |
|
3
|
12
|
correct |
0,359 |
28.89MB |
|
3
|
13
|
correct |
0,39 |
29.02MB |
|
3
|
14
|
correct |
0,357 |
28.89MB |
|
3
|
15
|
correct |
0,39 |
29.02MB |
|
3
|
16
|
correct |
0,389 |
29.02MB |
|
4
|
17
|
wrong |
0,09 |
16.44MB |
|
4
|
18
|
wrong |
0,117 |
16.44MB |
|
4
|
19
|
wrong |
0,118 |
16.44MB |
|
4
|
20
|
wrong |
0,118 |
16.44MB |
|
4
|
21
|
wrong |
0,118 |
16.44MB |
|
4
|
22
|
wrong |
0,118 |
16.44MB |
Subtask |
Scor |
Scor maxim |
|---|---|---|
1 |
13,0 |
13
|
2 |
33,0 |
33
|
3 |
21,0 |
21
|
4 |
0,0 |
33
|