Borderou de evaluare (job #822242)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 mai 2025 13:58:44 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:22:11: error: expected '(' before '{' token
22 | if{fr[m%10]==1)
| ^
| (
main.cpp:31:6: error: expected '}' at end of input
31 | }
| ^
main.cpp:8:1: note: to match this '{'
8 | {
| ^
main.cpp:9:18: warning: unused variable 'i' [-Wunused-variable]
9 | int n,fr[10],i,val,m;
| ^
main.cpp:9:20: warning: unused variable 'val' [-Wunused-variable]
9 | int n,fr[10],i,val,m;
| ^~~