Borderou de evaluare (job #1362376)

Utilizator iarbaCrestez Paul iarba Data 26 februarie 2015 12:15:03
Problema Urat 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:18:5: error: expected ‘}’ before ‘else’ else {printf ("%lld ",b--); ^ user.cpp:21:1: error: expected ‘}’ at end of input } ^ user.cpp:6:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("urat.in","r", stdin); ^ user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("urat.out","w", stdout); ^ user.cpp:8:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%lld",&n); ^

Ceva nu functioneaza?