Pagini recente » Borderou de evaluare (job #2340849) | Borderou de evaluare (job #1461655) | Borderou de evaluare (job #1635288) | Borderou de evaluare (job #1681355) | Borderou de evaluare (job #3161305)
Borderou de evaluare (job #3161305)
Raport evaluator
Compilare:
main.cpp: In function 'int kadaneWithPositions(std::vector<int>&, KadaneType, int&, int&)':
main.cpp:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
main.cpp: In function 'void readDiffMatrix(std::ifstream&, std::vector<std::vector<int> >&)':
main.cpp:32:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:33:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for (int j = 0; j < v[i].size(); j++) {
| ~~^~~~~~~~~~~~~
main.cpp:37:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:38:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int j = 0; j < v[i].size(); j++) {
| ~~^~~~~~~~~~~~~
main.cpp: In function 'void printMatrix(std::vector<std::vector<int> >&)':
main.cpp:47:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:48:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (int j = 0; j < v[i].size(); j++) {
| ~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:74:13: warning: variable 'bestLeft' set but not used [-Wunused-but-set-variable]
74 | int bestLeft = 0, bestRight = 0, bestUp = 0, bestDown = 0;
| ^~~~~~~~
main.cpp:74:27: warning: variable 'bestRight' set but not used [-Wunused-but-set-variable]
74 | int bestLeft = 0, bestRight = 0, bestUp = 0, bestDown = 0;
| ^~~~~~~~~
main.cpp:74:42: warning: variable 'bestUp' set but not used [-Wunused-but-set-variable]
74 | int bestLeft = 0, bestRight = 0, bestUp = 0, bestDown = 0;
| ^~~~~~
main.cpp:74:54: warning: variable 'bestDown' set but not used [-Wunused-but-set-variable]
74 | int bestLeft = 0, bestRight = 0, bestUp = 0, bestDown = 0;
| ^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 303kb | OK | 100 |
Punctaj total | 100 |