Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
19 Octombrie 2024, 13:54 |
c++14 |
67.0 |
main.cpp: In function ‘int main()’:
main.cpp:27:39: warning: iteration 1000003 invokes undefined behavior [-Waggressive-loop-optimizations]
27 | sum[i] = sum[i - 1] + sumDiv[i];
| ~~~~~~~~^
main.cpp:26:23: note: within this loop
26 | for (int i = 1; i <= NMAX; i++)
| ~~^~~~~~~
Subtask |
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
|---|---|---|---|---|
|
1,
2,
3
|
1
|
correct |
0,113 |
12.64MB |
|
1,
2,
3
|
2
|
correct |
0,112 |
14.08MB |
|
1,
2,
3
|
3
|
correct |
0,09 |
16.31MB |
|
1,
2,
3
|
4
|
correct |
0,09 |
16.31MB |
|
1,
2,
3
|
5
|
correct |
0,087 |
16.31MB |
|
2,
3
|
6
|
correct |
0,107 |
17.36MB |
|
2,
3
|
7
|
correct |
0,132 |
17.1MB |
|
2,
3
|
8
|
correct |
0,134 |
17.23MB |
|
2,
3
|
9
|
correct |
0,132 |
17.23MB |
|
2,
3
|
10
|
correct |
0,135 |
17.23MB |
|
2,
3
|
11
|
correct |
0,137 |
17.36MB |
|
3
|
12
|
correct |
0,364 |
28.76MB |
|
3
|
13
|
correct |
0,369 |
28.89MB |
|
3
|
14
|
correct |
0,368 |
29.02MB |
|
3
|
15
|
correct |
0,393 |
28.9MB |
|
3
|
16
|
correct |
0,4 |
28.89MB |
|
4
|
17
|
wrong |
0,117 |
16.44MB |
|
4
|
18
|
wrong |
0,09 |
16.44MB |
|
4
|
19
|
wrong |
0,089 |
16.44MB |
|
4
|
20
|
wrong |
0,118 |
16.44MB |
|
4
|
21
|
wrong |
0,119 |
16.44MB |
|
4
|
22
|
wrong |
0,116 |
16.44MB |
Subtask |
Scor |
Scor maxim |
|---|---|---|
1 |
13,0 |
13
|
2 |
33,0 |
33
|
3 |
21,0 |
21
|
4 |
0,0 |
33
|