Borderou de evaluare (job #2678816)

Utilizator Laza_AndreiLazarescu Andrei Vlad Laza_Andrei Data 28 noiembrie 2020 19:16:10
Problema Parantezare Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:17:11: error: 'gets' was not declared in this scope gets(s); ^ main.cpp:14:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("parantezare.in","r",stdin); ^ main.cpp:15:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("parantezare.out","w",stdout); ^ main.cpp:28:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:30:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&c); ^ Non zero exit status: 1

Ceva nu functioneaza?