Borderou de evaluare (job #3001039)

Utilizator not_anduAndu Scheusan not_andu Data 13 martie 2023 10:25:21
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 'int ridicarePutere(int, int)': main.cpp:19:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 19 | if(b % 2 == 1) | ^~ main.cpp:21:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 21 | a = (1ll * a * a) % modulo; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
20ms184kbOK10
30ms184kbOK10
40ms184kbOK10
50ms184kbOK10
60ms184kbOK10
70ms184kbOK10
80ms184kbOK10
90ms184kbOK10
100ms184kbOK10
Punctaj total100

Ceva nu functioneaza?