Borderou de evaluare (job #3004699)

Utilizator ivddabDabelea Ioana-Viviana ivddab Data 16 martie 2023 15:44:41
Problema ClassicTask Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int64_t power(int64_t, int64_t, int64_t)': main.cpp:15:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 15 | if(exponent == 1) | ^~ main.cpp:17:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 17 | long long res = (power(base, exponent / 2, mod) % mod); | ^~~~ main.cpp: In function 'int main()': main.cpp:28:22: warning: unused variable 'res' [-Wunused-variable] 28 | int64_t a, b, c, res = 1; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
19ms20742kbMemory limit exceeded00
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
60ms303kbOK10
70ms303kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbOK10
Punctaj total0

Ceva nu functioneaza?