Pagini recente » Borderou de evaluare (job #216377) | Borderou de evaluare (job #3311529) | Borderou de evaluare (job #3307371) | Cod sursa (job #3315167) | Borderou de evaluare (job #3301691)
Borderou de evaluare (job #3301691)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i = 0; i < water_count; ++i){
| ~~^~~~~~~~~~~~~
main.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int i = 0; i < en_drink_count; ++i){
| ~~^~~~~~~~~~~~~~~~
main.cpp:51:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
51 | for (int i = 1; i <= stair_count; ++i){
| ~~^~~~~~~~~~~~~~
main.cpp:61:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
61 | for (int i = 1; i <= stair_count; ++i){
| ~~^~~~~~~~~~~~~~
main.cpp:64:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
64 | for (int j = 1; j <= curr_water_b && i + j <= stair_count; ++j){
| ~~^~~~~~~~~~~~~~~
main.cpp:64:52: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
64 | for (int j = 1; j <= curr_water_b && i + j <= stair_count; ++j){
| ~~~~~~^~~~~~~~~~~~~~
main.cpp:76:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
76 | for (int j = curr_water_b + 1; j <= curr_energy_b * 2 && i + j <= stair_count; ++j){
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp:76:72: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
76 | for (int j = curr_water_b + 1; j <= curr_energy_b * 2 && i + j <= stair_count; ++j){
| ~~~~~~^~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | OK | 5 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 0ms | 303kb | Incorect | 0 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 0ms | 303kb | Incorect | 0 |
| 11 | 0ms | 303kb | Incorect | 0 |
| 12 | 0ms | 303kb | Incorect | 0 |
| 13 | 0ms | 303kb | Incorect | 0 |
| 14 | 1ms | 303kb | Incorect | 0 |
| 15 | 1ms | 303kb | Incorect | 0 |
| 16 | 0ms | 303kb | Incorect | 0 |
| 17 | 0ms | 303kb | Incorect | 0 |
| 18 | 0ms | 303kb | Incorect | 0 |
| 19 | 0ms | 303kb | Incorect | 0 |
| 20 | 1ms | 303kb | Incorect | 0 |
| Punctaj total | 5 |