Borderou de evaluare (job #2987957)

Utilizator RMTomaRican Mihai Toma RMToma Data 3 martie 2023 10:54:57
Problema Ridicare la putere in timp logaritmic Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int put(long long unsigned int, long long unsigned int)': main.cpp:10:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 10 | if (b==1) | ^~ main.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 13 | return (put(a*a, b/2)%1999999973) * put(a, b%2)%1999999973)%1999999973; | ^~~~~~ main.cpp:13:67: error: expected ';' before ')' token 13 | return (put(a*a, b/2)%1999999973) * put(a, b%2)%1999999973)%1999999973; | ^ | ; main.cpp:13:67: error: expected primary-expression before ')' token main.cpp: In function 'int main()': main.cpp:20:25: warning: unused variable 'z' [-Wunused-variable] 20 | unsigned long long x,y,z; | ^ Non zero exit status: 1

Ceva nu functioneaza?