Borderou de evaluare (job #3182546)

Utilizator info_manDavid Patrick info_man Data 9 decembrie 2023 09:52:49
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 main()': main.cpp:16:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 16 | if (P % 2 == 1) | ^~ main.cpp:19:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 19 | n = (n*n) % mod ; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
70ms303kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbOK10
Punctaj total100

Ceva nu functioneaza?