Borderou de evaluare (job #1781690)
Utilizator | Data | 17 octombrie 2016 11:18:49 | |
---|---|---|---|
Problema | Online | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:11: error: ‘first’ was not declared in this scope
#define x first
^
user.cpp:25:33: note: in expansion of macro ‘x’
v.push_back( make_pair( x, make_pair( y, cost ) ) );
^
user.cpp:6:11: error: ‘second’ was not declared in this scope
#define y second.first
^
user.cpp:25:47: note: in expansion of macro ‘y’
v.push_back( make_pair( x, make_pair( y, cost ) ) );
^
user.cpp:47:12: error: ‘k’ was not declared in this scope
fin >> k;
^
user.cpp:5:11: error: ‘first’ was not declared in this scope
#define x first
^
user.cpp:51:33: note: in expansion of macro ‘x’
v.push_back( make_pair( x, make_pair( y, cost ) ) );
^
user.cpp:6:11: error: ‘second’ was not declared in this scope
#define y second.first
^
user.cpp:51:47: note: in expansion of macro ‘y’
v.push_back( make_pair( x, make_pair( y, cost ) ) );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !