Borderou de evaluare (job #2616767)
Utilizator | Data | 19 mai 2020 22:13:36 | |
---|---|---|---|
Problema | Conexidad | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:83:13: warning: statement has no effect [-Wunused-value]
debug(v);
^
main.cpp:85:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < v.size(); i++) {
~~^~~~~~~~~~
main.cpp:88:22: warning: statement has no effect [-Wunused-value]
debug(cur, x);
^
main.cpp:101:14: error: expected unqualified-id before '[' token
for(auto [x, y] : ans)
^
main.cpp:101:14: error: expected ';' before '[' token
main.cpp:101:15: error: 'x' was not declared in this scope
for(auto [x, y] : ans)
^
main.cpp:101:18: error: 'y' was not declared in this scope
for(auto [x, y] : ans)
^
main.cpp: In lambda function:
main.cpp:101:21: error: expected '{' before ':' token
for(auto [x, y] : ans)
^
main.cpp: In function 'int main()':
main.cpp:101:21: error: expected ';' before ':' token
main.cpp:101:21: error: expected primary-expression before ':' token
main.cpp:101:21: error: expected ')' before ':' token
main.cpp:101:21: error: expected primary-expression before ':' token
main.cpp:53:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("conexidad.in","r",stdin);
^
main.cpp:54:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("conexidad.out","w",stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !