Borderou de evaluare (job #2924822)
Utilizator | Data | 11 octombrie 2022 17:03:11 | |
---|---|---|---|
Problema | Maximum 0ccurrences | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:2:103: error: 'fin' was not declared in this scope
2 | using namespace std;ifstream f("occurences.in");ofstream g("occurences.out");long long n,q;int main(){fin>>q;while(q--){fin>>n;fout<<(n<=2?n:4)<<'\n';}return 0;}
| ^~~
main.cpp:2:128: error: 'fout' was not declared in this scope
2 | using namespace std;ifstream f("occurences.in");ofstream g("occurences.out");long long n,q;int main(){fin>>q;while(q--){fin>>n;fout<<(n<=2?n:4)<<'\n';}return 0;}
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !