Borderou de evaluare (job #3336171)
| Utilizator | Data | 24 ianuarie 2026 13:02:19 | |
|---|---|---|---|
| Problema | Logik | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:46:10: error: redefinition of 'std::ifstream fin'
46 | ifstream fin("logik.in");
| ^~~
main.cpp:6:10: note: 'std::ifstream fin' previously declared here
6 | ifstream fin("logik.in");
| ^~~
main.cpp:47:10: error: redefinition of 'std::ofstream fout'
47 | ofstream fout("logik.out");
| ^~~~
main.cpp:7:10: note: 'std::ofstream fout' previously declared here
7 | ofstream fout("logik.out");
| ^~~~
main.cpp:48:11: error: redefinition of 'const int nmax'
48 | const int nmax=200001;
| ^~~~
main.cpp:8:11: note: 'const int nmax' previously defined here
8 | const int nmax=200001;
| ^~~~
main.cpp:49:5: error: redefinition of 'int v [200001]'
49 | int v[nmax];
| ^
main.cpp:9:5: note: 'int v [200001]' previously declared here
9 | int v[nmax];
| ^
main.cpp:50:5: error: redefinition of 'int main()'
50 | int main()
| ^~~~
main.cpp:10:5: note: 'int main()' previously defined here
10 | int main()
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
