Borderou de evaluare (job #1189351)
Utilizator | Data | 22 mai 2014 15:54:47 | |
---|---|---|---|
Problema | Jap2 | 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:31:18: error: expected primary-expression at end of input
b=
^
user.cpp:31:18: error: expected ‘;’ at end of input
user.cpp:31:18: error: expected ‘}’ at end of input
user.cpp:31:18: error: expected ‘}’ at end of input
user.cpp:31:18: error: expected ‘}’ at end of input
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("jap2.in","r",stdin);
^
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("jap2.out","w",stdout);
^
user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d",&p,&q);
^
user.cpp:25:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d",&n,&k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !