Borderou de evaluare (job #3004702)

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

Raport evaluator

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

Ceva nu functioneaza?