Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
18 Iunie 2026, 00:04 |
c++14 |
70.0 |
main.cpp: In function ‘int main()’:
main.cpp:24:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
24 | for( int j = 0; j < prv.size(); j++ ){
| ~~^~~~~~~~~~~~
main.cpp:35:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for( int j = 0; j < nxt.size(); j++ )
| ~~^~~~~~~~~~~~
main.cpp:14:29: warning: unused variable ‘val’ [-Wunused-variable]
14 | int n, total, i, x, nr, val;
| ^~~
Subtask |
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
|---|---|---|---|---|
|
2,
3
|
1
|
correct |
0,095 |
3.97MB |
|
2,
3
|
2
|
correct |
0,095 |
3.99MB |
|
2,
3
|
3
|
correct |
0,098 |
4.01MB |
|
2,
3
|
4
|
correct |
0,095 |
4.0MB |
|
2,
3
|
5
|
correct |
0,135 |
1.04MB |
|
2,
3
|
6
|
correct |
0,132 |
1.04MB |
|
2,
3
|
7
|
correct |
0,162 |
1.77MB |
|
2,
3
|
8
|
correct |
0,224 |
3.38MB |
|
3
|
9
|
TimeLimitExceeded |
0,603 |
20.12MB |
|
3
|
10
|
TimeLimitExceeded |
0,6 |
20.06MB |
|
3
|
11
|
TimeLimitExceeded |
0,603 |
20.1MB |
|
3
|
12
|
TimeLimitExceeded |
0,605 |
20.05MB |
|
3
|
13
|
TimeLimitExceeded |
0,603 |
12.4MB |
|
3
|
14
|
TimeLimitExceeded |
0,602 |
27.26MB |
|
3
|
15
|
TimeLimitExceeded |
0,602 |
3.35MB |
|
3
|
16
|
TimeLimitExceeded |
0,603 |
12.38MB |
|
3
|
17
|
correct |
0,285 |
258KB |
|
3
|
18
|
correct |
0,293 |
258KB |
|
3
|
19
|
correct |
0,302 |
258KB |
|
3
|
20
|
correct |
0,282 |
258KB |
|
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,001 |
176KB |
Subtask |
Scor |
Scor maxim |
|---|---|---|
1 |
25,0 |
25
|
2 |
45,0 |
45
|
3 |
0,0 |
30
|