Borderou de evaluare (job #2479190)

Utilizator dragos99Homner Dragos dragos99 Data 23 octombrie 2019 15:11:19
Problema Copii 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:47:16: error: 'gets' was not declared in this scope gets(1 + a[i]); ^ main.cpp:43:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("copii.in","r",stdin); ^ main.cpp:45:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ Non zero exit status: 1

Ceva nu functioneaza?