Borderou de evaluare (job #2325944)
Utilizator | Data | 23 ianuarie 2019 11:19:44 | |
---|---|---|---|
Problema | ShiftRight | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:19:16: error: ISO C++ forbids declaration of 'permutare' with no type [-fpermissive]
permutare(int k)
^
main.cpp: In function 'int permutare(int)':
main.cpp:32:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:51:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(a); i++)
~^~~~~~~~~~
main.cpp:55:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(b); i++)
~^~~~~~~~~~
main.cpp:67:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(a); i++)
~^~~~~~~~~~
main.cpp:69:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(b); i++)
~^~~~~~~~~~
main.cpp:91:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(ultimul=-1) ultimul=n-1;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !