Borderou de evaluare (job #1532004)
Utilizator | Data | 21 noiembrie 2015 14:49:15 | |
---|---|---|---|
Problema | Hack | Status | done |
Runda | FMI No Stress 6 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:17: error: ‘vector’ was not declared in this scope
int getDistance(vector<string> &A, PII start) {
^
user.cpp:8:24: error: ‘string’ was not declared in this scope
int getDistance(vector<string> &A, PII start) {
^
user.cpp:8:33: error: ‘A’ was not declared in this scope
int getDistance(vector<string> &A, PII start) {
^
user.cpp:1:13: error: ‘pair’ was not declared in this scope
#define PII pair<int, int>
^
user.cpp:8:36: note: in expansion of macro ‘PII’
int getDistance(vector<string> &A, PII start) {
^
user.cpp:1:18: error: expected primary-expression before ‘int’
#define PII pair<int, int>
^
user.cpp:8:36: note: in expansion of macro ‘PII’
int getDistance(vector<string> &A, PII start) {
^
user.cpp:1:23: error: expected primary-expression before ‘int’
#define PII pair<int, int>
^
user.cpp:8:36: note: in expansion of macro ‘PII’
int getDistance(vector<string> &A, PII start) {
^
user.cpp:8:45: error: expression list treated as compound expression in initializer [-fpermissive]
int getDistance(vector<string> &A, PII start) {
^
user.cpp:8:47: error: expected ‘,’ or ‘;’ before ‘{’ token
int getDistance(vector<string> &A, PII start) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !