Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
18 Iunie 2026, 00:07 |
c++14 |
100.0 |
main.cpp: In function ‘int main()’:
main.cpp:26:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
26 | for( int j = 0; j < prv.size(); j++ ){
| ~~^~~~~~~~~~~~
main.cpp:37:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
37 | for( int j = 0; j < nxt.size(); j++ )
| ~~^~~~~~~~~~~~
main.cpp:16:29: warning: unused variable ‘val’ [-Wunused-variable]
16 | int n, total, i, x, nr, val;
| ^~~
Subtask |
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
|---|---|---|---|---|
|
2,
3
|
1
|
correct |
0,024 |
176KB |
|
2,
3
|
2
|
correct |
0,024 |
176KB |
|
2,
3
|
3
|
correct |
0,022 |
176KB |
|
2,
3
|
4
|
correct |
0,024 |
176KB |
|
2,
3
|
5
|
correct |
0,023 |
176KB |
|
2,
3
|
6
|
correct |
0,024 |
274KB |
|
2,
3
|
7
|
correct |
0,024 |
176KB |
|
2,
3
|
8
|
correct |
0,025 |
176KB |
|
3
|
9
|
correct |
0,277 |
307KB |
|
3
|
10
|
correct |
0,28 |
307KB |
|
3
|
11
|
correct |
0,278 |
307KB |
|
3
|
12
|
correct |
0,277 |
335KB |
|
3
|
13
|
correct |
0,303 |
307KB |
|
3
|
14
|
correct |
0,324 |
307KB |
|
3
|
15
|
correct |
0,298 |
307KB |
|
3
|
16
|
correct |
0,303 |
307KB |
|
3
|
17
|
correct |
0,22 |
266KB |
|
3
|
18
|
correct |
0,225 |
270KB |
|
3
|
19
|
correct |
0,229 |
270KB |
|
3
|
20
|
correct |
0,218 |
270KB |
|
1,
2,
3
|
21
|
correct |
0,001 |
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 |
30,0 |
30
|