Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
2 Noiembrie 2025, 01:08 |
c++14 |
70.0 |
main.cpp: In function ‘int main()’:
main.cpp:45:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | 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.44MB |
|
2,
3
|
2
|
correct |
0,077 |
4.38MB |
|
2,
3
|
3
|
correct |
0,078 |
4.43MB |
|
2,
3
|
4
|
correct |
0,079 |
4.4MB |
|
2,
3
|
5
|
correct |
0,107 |
1.46MB |
|
2,
3
|
6
|
correct |
0,107 |
1.46MB |
|
2,
3
|
7
|
correct |
0,129 |
2.17MB |
|
2,
3
|
8
|
correct |
0,167 |
3.76MB |
|
3
|
9
|
TimeLimitExceeded |
0,602 |
22.11MB |
|
3
|
10
|
TimeLimitExceeded |
0,6 |
22.02MB |
|
3
|
11
|
TimeLimitExceeded |
0,6 |
22.22MB |
|
3
|
12
|
TimeLimitExceeded |
0,603 |
22.19MB |
|
3
|
13
|
TimeLimitExceeded |
0,603 |
16.29MB |
|
3
|
14
|
TimeLimitExceeded |
0,602 |
30.67MB |
|
3
|
15
|
TimeLimitExceeded |
0,602 |
7.32MB |
|
3
|
16
|
TimeLimitExceeded |
0,603 |
16.33MB |
|
3
|
17
|
correct |
0,279 |
4.16MB |
|
3
|
18
|
correct |
0,29 |
4.16MB |
|
3
|
19
|
correct |
0,31 |
4.18MB |
|
3
|
20
|
correct |
0,293 |
4.26MB |
|
1,
2,
3
|
21
|
correct |
0,001 |
176KB |
|
1,
2,
3
|
22
|
correct |
0,0 |
176KB |
|
1,
2,
3
|
23
|
correct |
0,0 |
176KB |
|
1,
2,
3
|
24
|
correct |
0,001 |
176KB |
Subtask |
Scor |
Scor maxim |
|---|---|---|
1 |
25,0 |
25
|
2 |
45,0 |
45
|
3 |
0,0 |
30
|