Borderou de evaluare (job #1543937)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 6 decembrie 2015 12:07:44
Problema Infinite Pattern Matching Status done
Runda Algoritmiada 2016 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int cb(int)’: user.cpp:34:12: error: ‘c’ was not declared in this scope if(c[med] <= Ans){ ^ user.cpp: In function ‘int main()’: user.cpp:62:9: warning: unused variable ‘ok’ [-Wunused-variable] int ok = 0, Ans; ^ user.cpp:62:17: warning: unused variable ‘Ans’ [-Wunused-variable] int ok = 0, Ans; ^ user.cpp:45:54: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infinitepatternmatching.in", "r", stdin); ^ user.cpp:46:56: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("infinitepatternmatching.out", "w", stdout); ^ user.cpp:57:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a + 1); ^

Ceva nu functioneaza?