Borderou de evaluare (job #1231430)
Utilizator | Data | 20 septembrie 2014 16:42:20 | |
---|---|---|---|
Problema | Zota & Chidil | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void write()’:
user.cpp:91:24: error: expected ‘}’ at end of input
printf("%d" , sol);
^
user.cpp: In function ‘void read()’:
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zc.in" , "r" , stdin );
^
user.cpp:33:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &N , &M );
^
user.cpp:36:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n" , &x , &y );
^
user.cpp: In function ‘void solve()’:
user.cpp:61:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %d\n" , &c , &d );
^
user.cpp: In function ‘void write()’:
user.cpp:90:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zc.out" , "w" , stdout );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !