Borderou de evaluare (job #1618686)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 27 februarie 2016 22:35:06
Problema Carry 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:44:5: error: expected ‘;’ before ‘return’ return 0; ^ user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carry.in", "r", stdin); ^ user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carry.out", "w", stdout); ^ user.cpp:17:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int N, K; scanf("%d%d\n", &N, &K); gets(S); ^ user.cpp:17:47: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] int N, K; scanf("%d%d\n", &N, &K); gets(S); ^

Ceva nu functioneaza?