Borderou de evaluare (job #1886559)
Utilizator | Data | 20 februarie 2017 22:53:59 | |
---|---|---|---|
Problema | Cautare binara | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:25: error: ISO C++ forbids declaration of ‘tip0’ with no type [-fpermissive]
tip0(int st,int dr,int x){
^
user.cpp:20:25: error: ISO C++ forbids declaration of ‘tip1’ with no type [-fpermissive]
tip1(int st,int dr,int x){
^
user.cpp:34:25: error: ISO C++ forbids declaration of ‘tip2’ with no type [-fpermissive]
tip2(int st,int dr,int x){
^
user.cpp: In function ‘int main()’:
user.cpp:51:14: warning: unused variable ‘st’ [-Wunused-variable]
int n,m2,st=1,dr,t,x,m=0;
^
user.cpp:51:26: warning: unused variable ‘m’ [-Wunused-variable]
int n,m2,st=1,dr,t,x,m=0;
^
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in", "r", stdin);
^
user.cpp:50:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !