Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
27 Octombrie 2025, 17:22 |
c++14 |
100.0 |
main.cpp: In function ‘int main()’:
main.cpp:17:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
17 | for (int j=0; j<prev.size(); ++j) {
| ~^~~~~~~~~~~~
main.cpp:22:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
22 | for (int j=0; j<curr.size(); ++j) all.set(curr[j]);
| ~^~~~~~~~~~~~
main.cpp:24:24: 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<curr.size(); ++j) prev.push_back(curr[j]);
| ~^~~~~~~~~~~~
Subtask |
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
|---|---|---|---|---|
|
2,
3
|
1
|
correct |
0,022 |
1.89MB |
|
2,
3
|
2
|
correct |
0,023 |
1.88MB |
|
2,
3
|
3
|
correct |
0,023 |
1.79MB |
|
2,
3
|
4
|
correct |
0,025 |
1.81MB |
|
2,
3
|
5
|
correct |
0,022 |
1.84MB |
|
2,
3
|
6
|
correct |
0,025 |
1.89MB |
|
2,
3
|
7
|
correct |
0,025 |
1.8MB |
|
2,
3
|
8
|
correct |
0,023 |
1.88MB |
|
3
|
9
|
correct |
0,263 |
5.46MB |
|
3
|
10
|
correct |
0,263 |
5.43MB |
|
3
|
11
|
correct |
0,265 |
5.42MB |
|
3
|
12
|
correct |
0,262 |
5.42MB |
|
3
|
13
|
correct |
0,26 |
5.51MB |
|
3
|
14
|
correct |
0,269 |
5.4MB |
|
3
|
15
|
correct |
0,258 |
5.4MB |
|
3
|
16
|
correct |
0,257 |
5.39MB |
|
3
|
17
|
correct |
0,208 |
5.4MB |
|
3
|
18
|
correct |
0,21 |
5.44MB |
|
3
|
19
|
correct |
0,215 |
5.5MB |
|
3
|
20
|
correct |
0,21 |
5.4MB |
|
1,
2,
3
|
21
|
correct |
0,0 |
176KB |
|
1,
2,
3
|
22
|
correct |
0,001 |
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 |
30,0 |
30
|