Borderou de evaluare (job #3323943)

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

Raport evaluator

Compilare: main.cpp: In function 'ull PUTERE(ull, ull)': main.cpp:24:47: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 24 | if (rez > ULLONG_MAX / val || val == -1)return -1; | ~~~~^~~~~ main.cpp:27:43: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 27 | if (val > ULLONG_MAX / val || val == -1)val = -1; | ~~~~^~~~~ main.cpp: In function 'int cb1(int)': main.cpp:40:32: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 40 | if (PUTERE(mij,putere) == -1)dr = mij - 1; | ~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:41:37: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 41 | else if (PUTERE(mij,putere) >= x)dr = mij - 1,rez = mij; | ~~~~~~~~~~~~~~~~~~~^~~~ main.cpp: In function 'int cb2(int)': main.cpp:53:32: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 53 | if (PUTERE(mij,putere) == -1)dr = mij - 1; | ~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:54:37: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 54 | else if (PUTERE(mij,putere) <= y)st = mij + 1,rez = mij; | ~~~~~~~~~~~~~~~~~~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms307kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
111ms303kbIncorect0
121ms303kbIncorect0
131ms303kbIncorect0
141ms303kbIncorect0
151ms303kbIncorect0
161ms303kbIncorect0
171ms303kbIncorect0
181ms303kbIncorect0
191ms303kbIncorect0
201ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?