Borderou de evaluare (job #1598799)
Utilizator | Data | 13 februarie 2016 12:47:27 | |
---|---|---|---|
Problema | Zmeu2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:16: error: variable ‘std::ifstream in’ has initializer but incomplete type
ifstream in("zmeu2.in");
^
user.cpp:9:17: error: variable ‘std::ofstream out’ has initializer but incomplete type
ofstream out("zmeu2.out");
^
user.cpp: In function ‘int main()’:
user.cpp:6:17: error: ‘numeric_limits’ was not declared in this scope
#define INF numeric_limits<int>::max()
^
user.cpp:18:45: note: in expansion of macro ‘INF’
sol=vector< pair<int,int> > (p+1,mp(INF,0));
^
user.cpp:18:37: error: expected primary-expression before ‘(’ token
sol=vector< pair<int,int> > (p+1,mp(INF,0));
^
user.cpp:6:32: error: expected primary-expression before ‘int’
#define INF numeric_limits<int>::max()
^
user.cpp:18:45: note: in expansion of macro ‘INF’
sol=vector< pair<int,int> > (p+1,mp(INF,0));
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !