Borderou de evaluare (job #1388241)
Utilizator | Data | 15 martie 2015 12:34:08 | |
---|---|---|---|
Problema | Online | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:49:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,f1,f2;
^
user.cpp: In function ‘void afisare()’:
user.cpp:79:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int main()’:
user.cpp:104:13: error: expected primary-expression before ‘else’
else
^
user.cpp:104:13: error: expected ‘;’ before ‘else’
user.cpp: In function ‘void citire()’:
user.cpp:36:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:39:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&v[i].x,&v[i].y,&v[i].c);
^
user.cpp:44:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&k);
^
user.cpp: In function ‘int main()’:
user.cpp:95:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&a1,&a2,&a3);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !