Borderou de evaluare (job #2044224)
Utilizator | Data | 21 octombrie 2017 07:44:01 | |
---|---|---|---|
Problema | Flori | Status | done |
Runda | hlo_cj_av_l3 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:15: error: conflicting declaration ‘std::ofstream f’
ofstream f("flori.out");
^
user.cpp:7:14: error: ‘f’ has a previous declaration as ‘std::ifstream f’
ifstream f("flori.in");
^
user.cpp:65:13: error: ‘g’ was not declared in this scope
g<<i+1<<" ";
^
user.cpp:69:16: error: ‘out’ was not declared in this scope
if (ok==1) out<<"\n";
^
user.cpp:74:1: error: ‘g’ was not declared in this scope
g.close();
^
user.cpp:9:23: warning: unused variable ‘p’ [-Wunused-variable]
int n,k,max,i,j,x,p,m,q,w,z,t,min,ok;
^
user.cpp:9:25: warning: unused variable ‘m’ [-Wunused-variable]
int n,k,max,i,j,x,p,m,q,w,z,t,min,ok;
^
user.cpp:9:27: warning: unused variable ‘q’ [-Wunused-variable]
int n,k,max,i,j,x,p,m,q,w,z,t,min,ok;
^
user.cpp:9:31: warning: unused variable ‘z’ [-Wunused-variable]
int n,k,max,i,j,x,p,m,q,w,z,t,min,ok;
^
user.cpp:9:33: warning: unused variable ‘t’ [-Wunused-variable]
int n,k,max,i,j,x,p,m,q,w,z,t,min,ok;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !