Borderou de evaluare (job #1663797)
Utilizator | Data | 26 martie 2016 11:00:39 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:13: error: expected unqualified-id before ‘int’
int p=1,int u=1;
^
user.cpp:67:25: error: ‘u’ was not declared in this scope
for(int i=p; i<=u; i++)
^
user.cpp:69:25: error: expected primary-expression before ‘]’ token
if(mapa[])
^
user.cpp:70:9: error: expected primary-expression before ‘}’ token
}
^
user.cpp:70:9: error: expected ‘;’ before ‘}’ token
user.cpp:52:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&N,&M);
^
user.cpp:56:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&x,&y);
^
user.cpp:60:57: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d%d",&startx,&starty,&stopx,&stopy);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !