Pagini recente » Borderou de evaluare (job #1334179) | Borderou de evaluare (job #2296021) | Cod sursa (job #443754) | Cod sursa (job #294091) | Borderou de evaluare (job #2395753)
Borderou de evaluare (job #2395753)
Raport evaluator
Compilare:
main.cpp: In function 'void DrumPamApa(int, int)':
main.cpp:159:119: warning: left operand of comma operator has no effect [-Wunused-value]
drum[newX][newY] = lg + drum[lastOnWater[p.first][p.second].x][lastOnWater[p.first][p.second].y, newX, newY];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
main.cpp:159:128: warning: right operand of comma operator has no effect [-Wunused-value]
drum[newX][newY] = lg + drum[lastOnWater[p.first][p.second].x][lastOnWater[p.first][p.second].y, newX, newY];
^~~~
main.cpp:163:122: warning: left operand of comma operator has no effect [-Wunused-value]
if(drum[newX][newY] > lg + drum[lastOnWater[p.first][p.second].x][lastOnWater[p.first][p.second].y, newX, newY])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
main.cpp:163:131: warning: right operand of comma operator has no effect [-Wunused-value]
if(drum[newX][newY] > lg + drum[lastOnWater[p.first][p.second].x][lastOnWater[p.first][p.second].y, newX, newY])
^~~~
main.cpp:165:123: warning: left operand of comma operator has no effect [-Wunused-value]
drum[newX][newY] = lg + drum[lastOnWater[p.first][p.second].x][lastOnWater[p.first][p.second].y, newX, newY];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
main.cpp:165:132: warning: right operand of comma operator has no effect [-Wunused-value]
drum[newX][newY] = lg + drum[lastOnWater[p.first][p.second].x][lastOnWater[p.first][p.second].y, newX, newY];
^~~~
main.cpp:172:123: warning: left operand of comma operator has no effect [-Wunused-value]
drum[newX][newY] = lg + drum[lastOnWater[p.first][p.second].x][lastOnWater[p.first][p.second].y, newX, newY];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
main.cpp:172:132: warning: right operand of comma operator has no effect [-Wunused-value]
drum[newX][newY] = lg + drum[lastOnWater[p.first][p.second].x][lastOnWater[p.first][p.second].y, newX, newY];
^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 21 | 2ms | 131kb | OK! | 0 | 0 |
| 22 | 2ms | 262kb | OK! | 0 | 0 |
| 23 | 3ms | 393kb | OK! | 0 | 0 |
| 1 | 2ms | 131kb | OK! | 5 | 5 |
| 2 | 2ms | 131kb | OK! | 5 | 5 |
| 3 | 2ms | 131kb | OK! | 5 | 5 |
| 4 | 3ms | 393kb | OK! | 5 | 5 |
| 5 | 4ms | 786kb | OK! | 5 | 5 |
| 6 | 26ms | 786kb | OK! | 5 | 5 |
| 7 | 85ms | 1048kb | Raspuns gresit! | 0 | 0 |
| 8 | 1200ms | 1048kb | Time limit exceeded | 0 | 0 |
| 9 | 4ms | 1179kb | OK! | 5 | 5 |
| 10 | 230ms | 1179kb | OK! | 5 | 5 |
| 11 | 23ms | 7077kb | OK! | 5 | 5 |
| 12 | 399ms | 7208kb | Raspuns gresit! | 0 | 0 |
| 13 | 1203ms | 8257kb | Time limit exceeded | 0 | 0 |
| 14 | 1200ms | 18743kb | Time limit exceeded | 0 | 0 |
| 15 | 1203ms | 19529kb | Time limit exceeded | 0 | 0 |
| 16 | 1200ms | 16384kb | Time limit exceeded | 0 | 0 |
| 17 | 155ms | 24772kb | OK! | 5 |
| 18 | 79ms | 19398kb | OK! | 5 |
| 19 | 1203ms | 16121kb | Time limit exceeded | 0 |
| 20 | 22ms | 1179kb | OK! | 5 |
| Punctaj total | 45 |