Borderou de evaluare (job #1107174)
Utilizator | Data | 13 februarie 2014 17:53:27 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:29:22: error: ISO C++ forbids declaration of ‘adaug2’ with no type [-fpermissive]
adaug2(int s[], int i)
^
user.cpp: In function ‘int adaug2(int*, int)’:
user.cpp:31:2: error: ‘t’ was not declared in this scope
t++;
^
user.cpp:33:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:65:8: error: ‘t’ was not declared in this scope
while(t)
^
user.cpp:54:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !