Borderou de evaluare (job #595415)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cifre comune (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 apr. 2021 19:04:32 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: expected ',' or ';' before 'ofstream'
6 | ofstream fout("cfcomune.out")
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:18:5: error: 'fr1' was not declared in this scope; did you mean 'fr2'?
18 | fr1[x%10]++;
| ^~~
| fr2
main.cpp:31:6: error: 'fr1' was not declared in this scope; did you mean 'fr2'?
31 | {if(fr1[i]!=0 && fr2[i]!=0)
| ^~~
| fr2
main.cpp:36:1: error: 'fout' was not declared in this scope
36 | fout<<cnt;
| ^~~~