Borderou de evaluare (job #3229878)

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

Raport evaluator

Compilare: main.cpp: In function 'void compute(std::vector<std::vector<std::vector<int> > >&, int)': main.cpp:37:38: 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 = 1; i + (1 << k) < rmq[k].size(); i++) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:40:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | 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:80:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 80 | for (int i = 1; i < rmq[k].size(); i++) { | ~~^~~~~~~~~~~~~~~ main.cpp:81:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 81 | for (int j = 1; j < rmq[k][i].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~ main.cpp:82:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | if (i + h - 1 < rmq[0].size() && j + w - 1 < rmq[0][i].size()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:82:56: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | 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:94:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | for (int i = 1; i + k - 1 <= rmq[k].size(); i++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~ main.cpp:95:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 95 | for (int j = 1; j + k - 1 <= rmq[k][i].size(); j++) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:102:63: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 102 | if (w - (1 << k) % k != 0 && j + w - (1 << k) < rmq[k][i].size()) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:106:58: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 106 | if (h - (1 << k) % k != 0 && i + h - (1 << k)<rmq[k].size()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:110:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 110 | 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:122:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 122 | for (int i = 1; i < rmq[k].size(); i++) { | ~~^~~~~~~~~~~~~~~ main.cpp:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | for (int j = 1; j < rmq[k][i].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms303kbOK10
22ms303kbOK10
32ms303kbOK10
468ms5828kbOK10
564ms5984kbOK10
668ms5976kbOK10
7481ms5935kbOK10
8486ms5935kbOK10
9481ms5935kbOK10
10481ms5935kbOK10
Punctaj total100

Ceva nu functioneaza?