Pagini recente »
Borderou de evaluare (job #779565)
|
Borderou de evaluare (job #824181)
|
Borderou de evaluare (job #15923)
|
Borderou de evaluare (job #40622)
|
Borderou de evaluare (job #762583)
Borderou de evaluare (job #762583)
Raport evaluator
Compilare:
main.cpp: In function 'int poz(char)':
main.cpp:18:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
18 | for(int j=0; j<str.size(); j++)
| ~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:71:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
71 | for(int i=0; i<str.size(); i++)
| ~^~~~~~~~~~~
main.cpp:72:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
72 | for(int j=0; j<str.size(); j++)
| ~^~~~~~~~~~~
main.cpp:73:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
73 | for(int k=0; k<str.size(); k++){
| ~^~~~~~~~~~~
main.cpp:84:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
84 | for(int i=0; i<str.size(); i++)
| ~^~~~~~~~~~~
main.cpp:85:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
85 | for(int j=0; j<str.size(); j++)
| ~^~~~~~~~~~~
main.cpp:86:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
86 | for(int k=0; k<str.size(); k++){
| ~^~~~~~~~~~~
In function 'int poz(char)',
inlined from 'int main()' at main.cpp:54:19:
main.cpp:19:9: warning: 'one' may be used uninitialized [-Wmaybe-uninitialized]
19 | if(str[j] == chr)
| ^~
main.cpp: In function 'int main()':
main.cpp:38:10: note: 'one' was declared here
38 | char one, two;
| ^~~
In function 'int poz(char)',
inlined from 'int main()' at main.cpp:54:29:
main.cpp:19:9: warning: 'two' may be used uninitialized [-Wmaybe-uninitialized]
19 | if(str[j] == chr)
| ^~
main.cpp: In function 'int main()':
main.cpp:38:15: note: 'two' was declared here
38 | char one, two;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
249 kb
|
OK
|
10
|
2
|
2 ms
|
249 kb
|
OK
|
10
|
3
|
2 ms
|
249 kb
|
OK
|
10
|
4
|
1 ms
|
512 kb
|
OK
|
10
|
5
|
10 ms
|
507 kb
|
OK
|
10
|
6
|
368 ms
|
1556 kb
|
OK
|
10
|
7
|
279 ms
|
761 kb
|
OK
|
10
|
8
|
314 ms
|
1028 kb
|
OK
|
10
|
9
|
349 ms
|
1294 kb
|
OK
|
10
|
10
|
341 ms
|
1556 kb
|
OK
|
10
|
Punctaj total
|
100
|