Borderou de evaluare (job #2397574)
Utilizator | Data | 4 aprilie 2019 16:13:20 | |
---|---|---|---|
Problema | Restante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:29: error: stray '#' in program
int mark[3700],i,j,s,n,l,x;a#include <fstream>
^
main.cpp:12:28: error: 'a' does not name a type
int mark[3700],i,j,s,n,l,x;a#include <fstream>
^
main.cpp:17:11: error: redefinition of 'std::ifstream f'
ifstream f("restante.in");
^
main.cpp:6:10: note: 'std::ifstream f' previously declared here
ifstream f("restante.in");
^
main.cpp:18:11: error: redefinition of 'std::ofstream g'
ofstream g("restante.out");
^
main.cpp:7:10: note: 'std::ofstream g' previously declared here
ofstream g("restante.out");
^
main.cpp:19:8: error: redefinition of 'struct potae'
struct potae{
^~~~~
main.cpp:8:8: error: previous definition of 'struct potae'
struct potae{
^~~~~
main.cpp:21:10: error: conflicting declaration 'int v [37000]'
} v[37000];
^
main.cpp:10:3: note: previous declaration as 'potae v [37000]'
} v[37000];
^
main.cpp:22:16: error: conflicting declaration 'char m [3700][50]'
char m[3700][50];
^
main.cpp:11:6: note: previous declaration as 'char m [3700][20]'
char m[3700][20];
^
main.cpp:23:14: error: redefinition of 'int mark [3700]'
int mark[3700],i,j,s,n,l,x;
^
main.cpp:12:5: note: 'int mark [3700]' previously declared here
int mark[3700],i,j,s,n,l,x;a#include <fstream>
^~~~
main.cpp:23:16: error: redefinition of 'int i'
int mark[3700],i,j,s,n,l,x;
^
main.cpp:12:16: note: 'int i' previously declared here
int mark[3700],i,j,s,n,l,x;a#include <fstream>
^
main.cpp:23:18: error: redefinition of 'int j'
int mark[3700],i,j,s,n,l,x;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !