Borderou de evaluare (job #1524787)
Utilizator | Data | 14 noiembrie 2015 14:02:57 | |
---|---|---|---|
Problema | Sudest | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:21: warning: missing terminating " character [enabled by default]
ifstream f(sudest.in");
^
user.cpp:8:1: error: missing terminating " character
ifstream f(sudest.in");
^
user.cpp:7:1: error: ‘ofstream’ does not name a type
ofstream g("sudest.out");
^
user.cpp:8:1: error: ‘ifstream’ does not name a type
ifstream f(sudest.in");
^
user.cpp: In function ‘void drum(int, int, int)’:
user.cpp:39:20: error: ‘g’ was not declared in this scope
if(x==0 && y==0) g<<1<<" "<<1<<'\n';
^
user.cpp:47:13: error: ‘g’ was not declared in this scope
g<<x+1<<" "<<y+1<<endl;
^
user.cpp:47:31: error: ‘endl’ was not declared in this scope
g<<x+1<<" "<<y+1<<endl;
^
user.cpp:47:31: note: suggested alternative:
In file included from /usr/include/c++/4.8/istream:39:0,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/ostream:564:5: note: ‘std::endl’
endl(basic_ostream<_CharT, _Traits>& __os)
^
user.cpp:54:13: error: ‘g’ was not declared in this scope
g<<x+1<<" "<<y+1<<endl;}
^
user.cpp:54:31: error: ‘endl’ was not declared in this scope
g<<x+1<<" "<<y+1<<endl;}
^
user.cpp:54:31: note: suggested alternative:
In file included from /usr/include/c++/4.8/istream:39:0,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/ostream:564:5: note: ‘std::endl’
endl(basic_ostream<_CharT, _Traits>& __os)
^
user.cpp:38:7: warning: unused variable ‘i’ [-Wunused-variable]
int i, gasit;
^
user.cpp: In function ‘void solve()’:
user.cpp:77:3: error: ‘g’ was not declared in this scope
g<<C[N-1][N-1]<<'\n';
^
user.cpp: In function ‘int main()’:
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !