Borderou de evaluare (job #1208471)
Utilizator | Data | 15 iulie 2014 20:36:34 | |
---|---|---|---|
Problema | Paranteze2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:51: error: ‘Next’ was not declared in this scope
i=0; crt=0; st[0]=0; scanf("%c", &c); last=1; Next[1]=1;
^
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paranteze2.in","r",stdin);
^
user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paranteze2.out","w",stdout);
^
user.cpp:9:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
i=0; crt=0; st[0]=0; scanf("%c", &c); last=1; Next[1]=1;
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !