Pagini recente »
Borderou de evaluare (job #676674)
Borderou de evaluare (job #676674)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
28 | for ( int st = 1; st < s[0].size() - len + 1; st++ ) {
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:42:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
42 | for ( int st = 1; st < s[i].size() - len + 1; st++ ) {
| ~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:58:21: warning: 'maxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
58 | cout << maxx << "\n";
| ^~~~
main.cpp:15:18: warning: 'min_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
15 | int n, maxx, min_size;
| ^~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
110 kb
|
Incorect
|
0
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
Incorect
|
0
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
Incorect
|
0
|
8
|
1 ms
|
114 kb
|
Incorect
|
0
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
Incorect
|
0
|
Punctaj total
|
0
|