Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
7 Octombrie 2023, 09:58 |
c++14 |
67.0 |
main.cpp: In function ‘int main()’:
main.cpp:17:17: warning: iteration 1000000 invokes undefined behavior [-Waggressive-loop-optimizations]
17 | divi[i] += divi[i - 1];
| ~~~~~~~~^~~~~~~~~~~~~~
main.cpp:16:22: note: within this loop
16 | for(int i = 1; i <= MAX; i++) {
| ~~^~~~~~
Subtask |
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
|---|---|---|---|---|
|
1,
2,
3
|
1
|
correct |
0,109 |
8.26MB |
|
1,
2,
3
|
2
|
correct |
0,108 |
8.19MB |
|
1,
2,
3
|
3
|
correct |
0,083 |
8.18MB |
|
1,
2,
3
|
4
|
correct |
0,11 |
8.17MB |
|
1,
2,
3
|
5
|
correct |
0,109 |
8.15MB |
|
2,
3
|
6
|
correct |
0,104 |
9.2MB |
|
2,
3
|
7
|
correct |
0,135 |
9.33MB |
|
2,
3
|
8
|
correct |
0,13 |
9.07MB |
|
2,
3
|
9
|
correct |
0,127 |
9.2MB |
|
2,
3
|
10
|
correct |
0,133 |
9.33MB |
|
2,
3
|
11
|
correct |
0,135 |
9.33MB |
|
3
|
12
|
correct |
0,369 |
21.0MB |
|
3
|
13
|
correct |
0,37 |
21.0MB |
|
3
|
14
|
correct |
0,392 |
20.87MB |
|
3
|
15
|
correct |
0,395 |
20.87MB |
|
3
|
16
|
correct |
0,393 |
20.73MB |
|
4
|
17
|
wrong |
0,086 |
8.42MB |
|
4
|
18
|
wrong |
0,087 |
8.41MB |
|
4
|
19
|
wrong |
0,114 |
8.41MB |
|
4
|
20
|
wrong |
0,114 |
8.41MB |
|
4
|
21
|
wrong |
0,115 |
8.28MB |
|
4
|
22
|
wrong |
0,114 |
8.41MB |
Subtask |
Scor |
Scor maxim |
|---|---|---|
1 |
13,0 |
13
|
2 |
33,0 |
33
|
3 |
21,0 |
21
|
4 |
0,0 |
33
|