Borderou de evaluare (job #1303359)
Utilizator | Bunget Mihai MihaiBun | Data | 27 decembrie 2014 21:21:30 |
---|---|---|---|
Problema | Prefix2 | Status | done |
Runda | Happy Birthday Infoarena 2014 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int verific(int)’:
user.cpp:33:35: error: ‘struct nod’ has no member named ‘flag’
{gasit=0;if(e>0)q->flag=i;
^
user.cpp: In function ‘int main()’:
user.cpp:55:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.in","r",stdin);
^
user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.out","w",stdout);
^
user.cpp:57:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",a);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !