Pagini recente » Borderou de evaluare (job #1743372) | Borderou de evaluare (job #1343870) | Borderou de evaluare (job #2412664) | Borderou de evaluare (job #2218570) | Borderou de evaluare (job #3229726)
Borderou de evaluare (job #3229726)
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 |
1 | 10ms | 483kb | Killed by Signal 11 | 0 |
2 | 10ms | 483kb | Killed by Signal 11 | 0 |
3 | 10ms | 483kb | Killed by Signal 11 | 0 |
4 | 4ms | 475kb | Killed by Signal 11 | 0 |
5 | 10ms | 475kb | Killed by Signal 11 | 0 |
6 | 9ms | 475kb | Killed by Signal 11 | 0 |
7 | 29ms | 4886kb | Killed by Signal 11 | 0 |
8 | 32ms | 4882kb | Killed by Signal 11 | 0 |
9 | 29ms | 4882kb | Killed by Signal 11 | 0 |
10 | 29ms | 4890kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |