Borderou de evaluare (job #3149369)
Utilizator | Data | 7 septembrie 2023 20:13:13 | |
---|---|---|---|
Problema | Colors2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:104:5: error: ISO C++ forbids declaration of 'DSU_rollback' with no type [-fpermissive]
104 | DSU_rollback(){}
| ^~~~~~~~~~~~
main.cpp: In function 'int dsu::DSU_rollback()':
main.cpp:104:20: warning: no return statement in function returning non-void [-Wreturn-type]
104 | DSU_rollback(){}
| ^
main.cpp: At global scope:
main.cpp:240:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
240 | main()
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !