Borderou de evaluare (job #3000887)

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

Ceva nu functioneaza?