Borderou de evaluare (job #1852863)
Utilizator | Data | 21 ianuarie 2017 11:09:58 | |
---|---|---|---|
Problema | Edist | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void minim(int, int)’:
user.cpp:53:18: error: return-statement with a value, in function returning 'void' [-fpermissive]
return a<b?a:b;
^
user.cpp: In function ‘void citire()’:
user.cpp:46:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&N,&M,&K);
^
user.cpp:48:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf1,MAXBUF,fin);
^
user.cpp:49:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf2,MAXBUF,fin);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !