Borderou de evaluare (job #760960)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Abc 1 (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 feb. 2024 17:22:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int powlg(int, int)':
main.cpp:11:11: error: 'p' was not declared in this scope
11 | while(p>0)
| ^
main.cpp: In function 'int main()':
main.cpp:29:12: error: too many arguments to function 'int powlg(int, int)'
29 | k=powlg(b,c,4);
| ~~~~~^~~~~~~
main.cpp:8:5: note: declared here
8 | int powlg(int a,int MOD)
| ^~~~~