Pagini recente » Borderou de evaluare (job #3343733) | Borderou de evaluare (job #92309) | Borderou de evaluare (job #475602) | Cod sursa (job #2906855) | Borderou de evaluare (job #3351065)
Borderou de evaluare (job #3351065)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> solve1(std::vector<int>)':
main.cpp:16:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for(int i=0;i<arr.size();i++){
| ~^~~~~~~~~~~
main.cpp: In function 'int solve2(std::vector<int>)':
main.cpp:27:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for(int i=0;i<arr.size();i++){
| ~^~~~~~~~~~~
main.cpp:40:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i=0;i<arr.size();i++)
| ~^~~~~~~~~~~
main.cpp: In function 'int solve3(std::vector<std::vector<int> >)':
main.cpp:46:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(int line=1;line<mtr.size();line++)
| ~~~~^~~~~~~~~~~
main.cpp:47:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int col=0;col<mtr[0].size();col++)
| ~~~^~~~~~~~~~~~~~
main.cpp:51:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for(int line=0;line<mtr.size();line++){
| ~~~~^~~~~~~~~~~
main.cpp:53:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int col=0;col<cline.size();col++)
| ~~~^~~~~~~~~~~~~
main.cpp:57:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(int col=0;col<cline.size();col++)
| ~~~^~~~~~~~~~~~~
main.cpp: In function 'int solve4(std::vector<std::vector<bool> >)':
main.cpp:65:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | while(line!=know.size() && col !=know[0].size()){
| ~~~~^~~~~~~~~~~~~
main.cpp:65:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | while(line!=know.size() && col !=know[0].size()){
| ~~~~^~~~~~~~~~~~~~~~
main.cpp:66:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | while(line<know.size() and (know[line][col] || line == col))line++;
| ~~~~^~~~~~~~~~~~
main.cpp:67:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | if(line<know.size())while(col<know.size() and (!know[line][col] || line==col ))col++;
| ~~~~^~~~~~~~~~~~
main.cpp:67:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | if(line<know.size())while(col<know.size() and (!know[line][col] || line==col ))col++;
| ~~~^~~~~~~~~~~~
main.cpp:69:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | if(line==know.size())return col;
| ~~~~^~~~~~~~~~~~~
main.cpp: In function 'std::string solve5(std::string, int)':
main.cpp:79:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
79 | if(s.top().second==k)
| ~~~~~~~~~~~~~~^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | OK | 10 |
| 3 | 0ms | 303kb | OK | 10 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 0ms | 303kb | OK | 10 |
| 6 | 1ms | 557kb | OK | 10 |
| 7 | 2ms | 1081kb | OK | 10 |
| 8 | 1ms | 303kb | OK | 10 |
| 9 | 0ms | 303kb | OK | 10 |
| 10 | 0ms | 303kb | OK | 10 |
| Punctaj total | 100 |