Borderou de evaluare (job #788052)

Utilizator avatar anatolie anatolie anatolie IP ascuns
Problemă Puteri3 (clasele 5-6) Compilator cpp-32
Rundă lasm_26_09_2024_clasa10_11 Status evaluat
Dată 26 sept. 2024 13:28:04 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int ultimaCifraPutere(int, int)': main.cpp:16:29: error: 'exponent' was not declared in this scope 16 | return cicluri[(exponent - 1) % 4]; | ^~~~~~~~ main.cpp:20:29: error: 'exponent' was not declared in this scope 20 | return cicluri[(exponent - 1) % 4]; | ^~~~~~~~ main.cpp:24:29: error: 'exponent' was not declared in this scope 24 | return cicluri[(exponent - 1) % 2]; | ^~~~~~~~ main.cpp:30:29: error: 'exponent' was not declared in this scope 30 | return cicluri[(exponent - 1) % 4]; | ^~~~~~~~ main.cpp:34:29: error: 'exponent' was not declared in this scope 34 | return cicluri[(exponent - 1) % 4]; | ^~~~~~~~ main.cpp:38:29: error: 'exponent' was not declared in this scope 38 | return cicluri[(exponent - 1) % 2]; | ^~~~~~~~