Borderou de evaluare (job #2341832)
Utilizator | Data | 12 februarie 2019 11:49:40 | |
---|---|---|---|
Problema | Ferma3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:14: error: ISO C++ forbids declaration of 'M' with no type [-fpermissive]
M(int x,int y)
^
main.cpp: In function 'int M(int, int)':
main.cpp:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: At global scope:
main.cpp:18:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
main.cpp: In function 'int main()':
main.cpp:23:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
I>>a[i]+1;
~~~~^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !