Borderou de evaluare (job #2207838)
Utilizator | POPESCU ION hertzalau | Data | 26 mai 2018 22:41:31 |
---|---|---|---|
Problema | Aquapark | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:22:15: error: found ‘:’ in nested-name-specifier, expected ‘::’
for(it:v[nod])
^
user.cpp:22:13: error: ‘it’ has not been declared
for(it:v[nod])
^~
user.cpp:28:5: error: expected primary-expression before ‘}’ token
}
^
user.cpp:28:5: error: expected ‘;’ before ‘}’ token
user.cpp:28:5: error: expected primary-expression before ‘}’ token
user.cpp:28:5: error: expected ‘)’ before ‘}’ token
user.cpp:28:5: error: expected primary-expression before ‘}’ token
user.cpp: In function ‘int main()’:
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aquapark.in","r",stdin);
^
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aquapark.out","w",stdout);
^
user.cpp:35:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&cer,&n,&m);
^
user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !