Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
10 August 2023, 18:01 |
c++14 |
100.0 |
main.cpp: In function ‘void bagaZvalues(int*)’:
main.cpp:27:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
27 | for(int i=1; i<S.size(); ++i){
| ~^~~~~~~~~
main.cpp: In function ‘void rezolva()’:
main.cpp:57:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
57 | for(int i=pattern.size(); i<S.size(); ++i){
| ~^~~~~~~~~
main.cpp:62:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
62 | for(int i=pattern.size(); i<S.size(); ++i){
| ~^~~~~~~~~
main.cpp:64:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | if (nextI >= S.size()) break;
| ~~~~~~^~~~~~~~~~~
Test |
Mesaj evaluator |
Timp execuție |
Memorie |
Scor |
|---|---|---|---|---|
|
1
|
correct |
0,001 |
188KB |
4,0 |
|
2
|
correct |
0,0 |
176KB |
4,0 |
|
3
|
correct |
0,005 |
3.67MB |
3,0 |
|
4
|
correct |
0,001 |
176KB |
3,0 |
|
5
|
correct |
0,0 |
176KB |
4,0 |
|
6
|
correct |
0,002 |
3.73MB |
3,0 |
|
7
|
correct |
0,004 |
2.3MB |
3,0 |
|
8
|
correct |
0,001 |
176KB |
4,0 |
|
9
|
correct |
0,004 |
3.67MB |
3,0 |
|
10
|
correct |
0,003 |
2.4MB |
3,0 |
|
11
|
correct |
0,009 |
6.46MB |
4,0 |
|
12
|
correct |
0,0 |
176KB |
3,0 |
|
13
|
correct |
0,009 |
7.35MB |
3,0 |
|
14
|
correct |
0,014 |
6.41MB |
3,0 |
|
15
|
correct |
0,009 |
7.42MB |
4,0 |
|
16
|
correct |
0,02 |
11.5MB |
3,0 |
|
17
|
correct |
0,014 |
7.33MB |
3,0 |
|
18
|
correct |
0,013 |
9.62MB |
4,0 |
|
19
|
correct |
0,022 |
14.18MB |
3,0 |
|
20
|
correct |
0,025 |
10.32MB |
3,0 |
|
21
|
correct |
0,013 |
11.4MB |
4,0 |
|
22
|
correct |
0,022 |
14.22MB |
3,0 |
|
23
|
correct |
0,0 |
176KB |
3,0 |
|
24
|
correct |
0,035 |
18.89MB |
3,0 |
|
25
|
correct |
0,001 |
176KB |
4,0 |
|
26
|
correct |
0,001 |
176KB |
3,0 |
|
27
|
correct |
0,0 |
176KB |
3,0 |
|
28
|
correct |
0,001 |
176KB |
4,0 |
|
29
|
correct |
0,001 |
176KB |
3,0 |
|
30
|
correct |
0,001 |
176KB |
3,0 |