Borderou de evaluare (job #798121)

Utilizator avatar Ionut2212 Nedelcu Ion Ionut2212 IP ascuns
Problemă Gadfadăr (clasa 6-7) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 nov. 2024 09:40:31 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:21:17: error: 'p' was not declared in this scope 21 | {id/=2; p*=2;} | ^ main.cpp:22:19: error: 'p' was not declared in this scope 22 | sumdiv*=((p - 1) / (2 - 1)); | ^ main.cpp:25:17: error: 'p' was not declared in this scope 25 | {id/=3; p*=3;} | ^ main.cpp:26:19: error: 'p' was not declared in this scope 26 | sumdiv*=((p - 1) / (3 - 1)); | ^