Borderou de evaluare (job #1621940)
Utilizator | Data | 29 februarie 2016 23:15:07 | |
---|---|---|---|
Problema | Cezar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:28: error: ISO C++ forbids declaration of ‘a’ with no type [-fpermissive]
bool operator()(const &a,const &b){
^
user.cpp:13:37: error: ISO C++ forbids declaration of ‘b’ with no type [-fpermissive]
bool operator()(const &a,const &b){
^
user.cpp: In function ‘void Solve()’:
user.cpp:28:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(var i = 0; i < G[nod].size(); i++){
^
user.cpp:32:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(V[G[nod][i]] == G[G[nod][i]].size() - 1 ){
^
user.cpp: In function ‘int main()’:
user.cpp:45:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%hd %hd",&n,&k);
^
user.cpp:47:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%hd %hd",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !