Pagini recente » Borderou de evaluare (job #1367830) | Borderou de evaluare (job #2318556) | Borderou de evaluare (job #3315471) | Borderou de evaluare (job #3342751) | Borderou de evaluare (job #3351039)
Borderou de evaluare (job #3351039)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<long long int> solve1(std::vector<long long int>)':
main.cpp:15:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0;i<arr.size();i++){
| ~^~~~~~~~~~~
main.cpp: In function 'long long int solve2(std::vector<long long int>)':
main.cpp:26:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=0;i<arr.size();i++){
| ~^~~~~~~~~~~
main.cpp:39:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int i=0;i<arr.size();i++)
| ~^~~~~~~~~~~
main.cpp: In function 'long long int solve3(std::vector<std::vector<long long int> >)':
main.cpp:45:24: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(int line=1;line<mtr.size();line++)
| ~~~~^~~~~~~~~~~
main.cpp:46:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(int col=0;col<mtr[0].size();col++)
| ~~~^~~~~~~~~~~~~~
main.cpp:50:24: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for(int line=0;line<mtr.size();line++){
| ~~~~^~~~~~~~~~~
main.cpp:52:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int col=0;col<cline.size();col++)
| ~~~^~~~~~~~~~~~~
main.cpp:56:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for(int col=0;col<cline.size();col++)
| ~~~^~~~~~~~~~~~~
main.cpp:57:30: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
57 | if(mtr[line][col]!=(col&1)^1)cline[col]=0;
main.cpp: In function 'long long int solve4(std::vector<std::vector<bool> >)':
main.cpp:64:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | while(line!=know.size() && col !=know[0].size()){
| ~~~~^~~~~~~~~~~~~
main.cpp:64:36: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | while(line!=know.size() && col !=know[0].size()){
| ~~~~^~~~~~~~~~~~~~~~
main.cpp:65:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | while(line<know.size() and (know[line][col] || line == col))line++;
| ~~~~^~~~~~~~~~~~
main.cpp:66:16: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | if(line<know.size())while(col<know.size() and (!know[line][col] || line==col ))col++;
| ~~~~^~~~~~~~~~~~
main.cpp:66:38: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | if(line<know.size())while(col<know.size() and (!know[line][col] || line==col ))col++;
| ~~~^~~~~~~~~~~~
main.cpp:68:12: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<bool> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | if(line==know.size())return col;
| ~~~~^~~~~~~~~~~~~
main.cpp: In function 'std::vector<long long int> solve6(std::vector<long long int>, long long int (*)(long long int, long long int), long long int, long long int)':
main.cpp:93:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Corect | 5 |
| 2 | 0ms | 303kb | Corect | 5 |
| 3 | 0ms | 303kb | Corect | 4 |
| 4 | 0ms | 303kb | Corect | 4 |
| 5 | 0ms | 303kb | Corect | 4 |
| 6 | 1ms | 303kb | Corect | 4 |
| 7 | 1ms | 303kb | Corect | 4 |
| 8 | 1ms | 819kb | Corect | 4 |
| 9 | 2ms | 1081kb | Corect | 5 |
| 10 | 2ms | 1081kb | Corect | 5 |
| 11 | 2ms | 1343kb | Corect | 6 |
| 12 | 5ms | 2392kb | Corect | 7 |
| 13 | 4ms | 1605kb | Corect | 9 |
| 14 | 8ms | 4050kb | Corect | 9 |
| 15 | 48ms | 23298kb | Corect | 12 |
| 16 | 53ms | 24567kb | Corect | 13 |
| Punctaj total | 100 |