Pagini recente »
Borderou de evaluare (job #533136)
|
Borderou de evaluare (job #391053)
|
Borderou de evaluare (job #668217)
|
Borderou de evaluare (job #105362)
|
Borderou de evaluare (job #707676)
Borderou de evaluare (job #707676)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
19 | for(int i = 0; i < cuv.size(); i++){
| ~~^~~~~~~~~~~~
main.cpp:21:11: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | v[ch] = i;
| ^~
main.cpp:23:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
23 | for(int i = 0; i < orig.size(); i++){
| ~~^~~~~~~~~~~~~
main.cpp:25:20: warning: array subscript has type 'char' [-Wchar-subscripts]
25 | ord[i] = v[ch];
| ^~
main.cpp:29:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
29 | for(int i = 0; i < cod.size(); i++){
| ~~^~~~~~~~~~~~
main.cpp:31:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare]
31 | if(aux.size() == m/n+(ord[cnt] < m%n)){
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
38 | for(int i = 0; i < col[0].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp:40:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare]
40 | if(i < col[j].size()){
| ~~^~~~~~~~~~~~~~~
main.cpp:42:29: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | vf[col[j][i]]++;
| ^
main.cpp:47:10: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized]
47 | char ch;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
249 kb
|
Incorect
|
0
|
2
|
1 ms
|
249 kb
|
Incorect
|
0
|
3
|
1 ms
|
249 kb
|
Incorect
|
0
|
4
|
1 ms
|
249 kb
|
Incorect
|
0
|
5
|
1 ms
|
249 kb
|
Incorect
|
0
|
6
|
1 ms
|
249 kb
|
Incorect
|
0
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
8
|
1 ms
|
249 kb
|
Incorect
|
0
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
10
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
0
|