Borderou de evaluare (job #3242009)

Utilizator AnaMateiAna Matei AnaMatei Data 7 septembrie 2024 12:15:07
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'long long int powlg(int, int)': main.cpp:16:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 16 | if(p & 1 == 1) | ~~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
70ms303kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbOK10
Punctaj total100

Ceva nu functioneaza?