Borderou de evaluare (job #1842541)
Utilizator | Data | 7 ianuarie 2017 08:38:06 | |
---|---|---|---|
Problema | Sobo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:14:5: error: ‘dp’ was not declared in this scope
dp[conf] = INT_MAX;
^
user.cpp:14:16: error: ‘INT_MAX’ was not declared in this scope
dp[conf] = INT_MAX;
^
user.cpp:17:9: error: ‘moto’ was not declared in this scope
moto > cancer
^
user.cpp:17:16: error: ‘cancer’ was not declared in this scope
moto > cancer
^
user.cpp:18:5: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:40:15: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
solve(conf);
^
user.cpp:12:5: error: initializing argument 1 of ‘int solve(int)’ [-fpermissive]
int solve(int conf)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !