Borderou de evaluare (job #2402045)
Utilizator | Data | 10 aprilie 2019 12:06:14 | |
---|---|---|---|
Problema | Sort | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:20:19: error: ISO C++ forbids declaration of 'swap' with no type [-fpermissive]
swap(int& x,int& y)
^
main.cpp: In function 'int swap(int&, int&)':
main.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !