Borderou de evaluare (job #3313979)

Utilizator NERDVANA_MIHNEA_PURCAREAMihnea Purcarea NERDVANA_MIHNEA_PURCAREA Data 7 octombrie 2025 17:43:41
Problema Pic Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int canFill(long long unsigned int)': main.cpp:22:34: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 22 | while(i <= n && water[i] >= capacity[i]){ | ~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:25:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] 25 | printf("%d ", water[i]); | ~^ ~~~~~~~~ | | | | int long long unsigned int | %lld main.cpp: In function 'int main()': main.cpp:92:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 92 | fprintf(out, "%llu %llu", l, spill); | ~~~^ ~ | | | | | long unsigned int | long long unsigned int | %lu
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbOK5
60ms303kbOK5
71ms303kbOK5
81ms303kbOK5
91ms303kbOK5
101ms303kbOK5
114ms303kbOK5
124ms303kbOK5
132ms303kbOK5
142ms303kbOK5
152ms303kbOK5
161ms303kbOK5
171ms303kbOK5
183ms303kbOK5
194ms303kbOK5
205ms303kbOK5
Punctaj total80

Ceva nu functioneaza?