Borderou de evaluare (job #1456682)
Utilizator | Data | 1 iulie 2015 17:39:44 | |
---|---|---|---|
Problema | Numere Prime | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:24:13: error: redefinition of ‘std::ifstream in’
ifstream in ("prim.in");
^
user.cpp:3:10: error: ‘std::ifstream in’ previously declared here
ifstream in ("prim.in");
^
user.cpp:25:14: error: redefinition of ‘std::ofstream out’
ofstream out ("prim.out");
^
user.cpp:4:10: error: ‘std::ofstream out’ previously declared here
ofstream out ("prim.out");
^
user.cpp: In function ‘int main()’:
user.cpp:26:5: error: redefinition of ‘int main()’
int main()
^
user.cpp:5:5: error: ‘int main()’ previously defined here
int main()
^
user.cpp: At global scope:
user.cpp:45:13: error: redefinition of ‘std::ifstream in’
ifstream in ("prim.in");
^
user.cpp:3:10: error: ‘std::ifstream in’ previously declared here
ifstream in ("prim.in");
^
user.cpp:46:14: error: redefinition of ‘std::ofstream out’
ofstream out ("prim.out");
^
user.cpp:4:10: error: ‘std::ofstream out’ previously declared here
ofstream out ("prim.out");
^
user.cpp: In function ‘int main()’:
user.cpp:47:5: error: redefinition of ‘int main()’
int main()
^
user.cpp:5:5: error: ‘int main()’ previously defined here
int main()
^
user.cpp: At global scope:
user.cpp:66:13: error: redefinition of ‘std::ifstream in’
ifstream in ("prim.in");
^
user.cpp:3:10: error: ‘std::ifstream in’ previously declared here
ifstream in ("prim.in");
^
user.cpp:67:14: error: redefinition of ‘std::ofstream out’
ofstream out ("prim.out");
^
user.cpp:4:10: error: ‘std::ofstream out’ previously declared here
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !