Borderou de evaluare (job #2226529)
Utilizator | Data | 30 iulie 2018 12:12:03 | |
---|---|---|---|
Problema | Zmeu2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void calc()’:
user.cpp:86:17: error: conflicting declaration ‘int pc [205]’
int i,po,pc[205];
^
user.cpp:85:7: note: previous declaration as ‘bool pc [205]’
bool pc[205];
^~
user.cpp: In function ‘void citeste()’:
user.cpp:33:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&p,&k);
^
user.cpp:36:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t[1][i],&t[2][i]);
^
user.cpp:40:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp: In function ‘void scrie()’:
user.cpp:45:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !