Borderou de evaluare (job #2246724)

Utilizator cyg_SerbanBFlorin Gheorghe cyg_SerbanB Data 27 septembrie 2018 14:20:00
Problema Semne3 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:11:13: error: ‘gets’ was not declared in this scope gets(s+1); ^ user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("semne3.in", "r", stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("semn3.out", "w", stdout); ^ user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^

Ceva nu functioneaza?