Borderou de evaluare (job #1387912)
Utilizator | Data | 14 martie 2015 20:46:31 | |
---|---|---|---|
Problema | Zip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void df(int, int, int)’:
user.cpp:21:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v[nod].size();i+=2)
^
user.cpp: In function ‘int drum(int, int)’:
user.cpp:39:18: error: ‘strrev’ was not declared in this scope
strrev(sr);
^
user.cpp: In function ‘void citire()’:
user.cpp:51:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d\n",&n,&m,&k);
^
user.cpp:54:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s[i],k+1,f);
^
user.cpp:55:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"\n");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !