Borderou de evaluare (job #3323947)

Utilizator cristian46290Petre Cristian cristian46290 Data 20 noiembrie 2025 16:15:19
Problema Puteri4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'ull PUTERE(ull, ull)': main.cpp:27:47: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 27 | if (rez > ULLONG_MAX / val || val == -1)return -1; | ~~~~^~~~~ main.cpp:30:43: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 30 | if (val > ULLONG_MAX / val || val == -1)val = -1; | ~~~~^~~~~ main.cpp: In function 'int cb1(int)': main.cpp:43:32: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 43 | if (PUTERE(mij,putere) == -1)dr = mij - 1; | ~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:44:37: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 44 | else if (PUTERE(mij,putere) >= x)dr = mij - 1,rez = mij; | ~~~~~~~~~~~~~~~~~~~^~~~ main.cpp: In function 'int cb2(int)': main.cpp:56:32: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 56 | if (PUTERE(mij,putere) == -1)dr = mij - 1; | ~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:57:37: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 57 | else if (PUTERE(mij,putere) <= y)st = mij + 1,rez = mij; | ~~~~~~~~~~~~~~~~~~~^~~~ main.cpp: In function 'void Init()': main.cpp:67:17: warning: iteration 103 invokes undefined behavior [-Waggressive-loop-optimizations] 67 | if (ok[i] == true)continue; | ~~~~^ main.cpp:66:22: note: within this loop 66 | for (int i = 2;i <= 105;i++){ | ~~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
110ms303kbIncorect0
120ms303kbIncorect0
130ms303kbIncorect0
140ms303kbIncorect0
150ms303kbIncorect0
160ms303kbIncorect0
170ms303kbIncorect0
180ms303kbIncorect0
190ms303kbIncorect0
200ms303kbIncorect0
Punctaj total5

Ceva nu functioneaza?