Borderou de evaluare (job #3229877)

Utilizator raizoSoare Antonio raizo Data 17 mai 2024 20:23:45
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void compute(std::vector<std::vector<std::vector<int> > >&, int)': main.cpp:36:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | for (int i = 1; i + (1 << k) < rmq[k].size(); i++) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:39:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 39 | for (int j = 1; j + (1 << k) < rmq[k][i].size(); j++) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int result(std::vector<std::vector<std::vector<int> > >&, int, int, int)': main.cpp:78:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 78 | for (int i = 1; i < rmq[k].size(); i++) { | ~~^~~~~~~~~~~~~~~ main.cpp:79:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | for (int j = 1; j < rmq[k][i].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:80:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 80 | if (i + h - 1 < rmq[0].size() && j + w - 1 < rmq[0][i].size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:80:56: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 80 | if (i + h - 1 < rmq[0].size() && j + w - 1 < rmq[0][i].size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int result2(std::vector<std::vector<std::vector<int> > >&, int, int, int)': main.cpp:92:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 92 | for (int i = 1; i + k - 1 <= rmq[k].size(); i++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:93:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 93 | for (int j = 1; j + k - 1 <= rmq[k][i].size(); j++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:100:63: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | if (w - (1 << k) % k != 0 && j + w - (1 << k) < rmq[k][i].size()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:104:58: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | if (h - (1 << k) % k != 0 && i + h - (1 << k)<rmq[k].size()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:108:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 108 | if (w - (1 << k) % k != 0 && j + w - (1 << k)< rmq[k][i].size()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'void print(std::vector<std::vector<std::vector<int> > >&, int)': main.cpp:120:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for (int i = 1; i < rmq[k].size(); i++) { | ~~^~~~~~~~~~~~~~~ main.cpp:121:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int j = 1; j < rmq[k][i].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms303kbIncorect0
22ms303kbIncorect0
32ms303kbIncorect0
469ms5980kbIncorect0
569ms5980kbIncorect0
668ms5984kbIncorect0
7486ms5931kbIncorect0
8486ms5931kbIncorect0
9486ms5926kbIncorect0
10485ms5931kbIncorect0
Punctaj total0

Ceva nu functioneaza?