Borderou de evaluare (job #2381183)
Utilizator | Data | 16 martie 2019 10:53:30 | |
---|---|---|---|
Problema | Sate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:15: error: variable 'std::ifstream f' has initializer but incomplete type
ifstream f("sate.in");
^
main.cpp:14:15: error: variable 'std::ofstream g' has initializer but incomplete type
ofstream g("sate.out");
^
main.cpp:30:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[x].size();i++)
~^~~~~~~~~~~~
main.cpp:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[tata[y]].size();i++)
~^~~~~~~~~~~~~~~~~~
main.cpp:9:20: warning: unused variable 'x1' [-Wunused-variable]
long int x,m,n,x1,y1,e,b,c,y,i,k=0,j;
^~
main.cpp:9:23: warning: unused variable 'y1' [-Wunused-variable]
long int x,m,n,x1,y1,e,b,c,y,i,k=0,j;
^~
main.cpp:9:40: warning: unused variable 'j' [-Wunused-variable]
long int x,m,n,x1,y1,e,b,c,y,i,k=0,j;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !