Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
2 Noiembrie 2025, 01:11 |
c++14 |
70.0 |
main.cpp: In function ‘int main()’:
main.cpp:48:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
48 | for(int i = 0; i < prev.size(); i++) {
| ~~^~~~~~~~~~~~~
main.cpp:31:7: warning: unused variable ‘capstanga’ [-Wunused-variable]
31 | int capstanga = 0;
| ^~~~~~~~~
Subtask |
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
|---|---|---|---|---|
|
2,
3
|
1
|
correct |
0,077 |
4.45MB |
|
2,
3
|
2
|
correct |
0,08 |
4.36MB |
|
2,
3
|
3
|
correct |
0,078 |
4.42MB |
|
2,
3
|
4
|
correct |
0,079 |
4.44MB |
|
2,
3
|
5
|
correct |
0,104 |
1.46MB |
|
2,
3
|
6
|
correct |
0,105 |
1.45MB |
|
2,
3
|
7
|
correct |
0,127 |
2.19MB |
|
2,
3
|
8
|
correct |
0,158 |
3.76MB |
|
3
|
9
|
TimeLimitExceeded |
0,602 |
23.18MB |
|
3
|
10
|
TimeLimitExceeded |
0,603 |
23.2MB |
|
3
|
11
|
TimeLimitExceeded |
0,603 |
23.39MB |
|
3
|
12
|
TimeLimitExceeded |
0,605 |
23.24MB |
|
3
|
13
|
TimeLimitExceeded |
0,602 |
16.36MB |
|
3
|
14
|
TimeLimitExceeded |
0,604 |
31.5MB |
|
3
|
15
|
TimeLimitExceeded |
0,603 |
7.3MB |
|
3
|
16
|
TimeLimitExceeded |
0,604 |
16.44MB |
|
3
|
17
|
correct |
0,265 |
4.21MB |
|
3
|
18
|
correct |
0,27 |
4.19MB |
|
3
|
19
|
correct |
0,282 |
4.24MB |
|
3
|
20
|
correct |
0,272 |
4.22MB |
|
1,
2,
3
|
21
|
correct |
0,0 |
176KB |
|
1,
2,
3
|
22
|
correct |
0,001 |
176KB |
|
1,
2,
3
|
23
|
correct |
0,001 |
176KB |
|
1,
2,
3
|
24
|
correct |
0,0 |
176KB |
Subtask |
Scor |
Scor maxim |
|---|---|---|
1 |
25,0 |
25
|
2 |
45,0 |
45
|
3 |
0,0 |
30
|