Pagini recente » Borderou de evaluare (job #2677117) | Borderou de evaluare (job #2377956) | Borderou de evaluare (job #178551) | Borderou de evaluare (job #1480820) | Borderou de evaluare (job #3229878)
Borderou de evaluare (job #3229878)
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 |
1 | 2ms | 303kb | OK | 10 |
2 | 2ms | 303kb | OK | 10 |
3 | 2ms | 303kb | OK | 10 |
4 | 68ms | 5828kb | OK | 10 |
5 | 64ms | 5984kb | OK | 10 |
6 | 68ms | 5976kb | OK | 10 |
7 | 481ms | 5935kb | OK | 10 |
8 | 486ms | 5935kb | OK | 10 |
9 | 481ms | 5935kb | OK | 10 |
10 | 481ms | 5935kb | OK | 10 |
Punctaj total | 100 |