Borderou de evaluare (job #1310268)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 6 ianuarie 2015 17:19:50
Problema NrDivUnique 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:32:27: error: ‘Ans’ was not declared in this scope ++Ans; ^ user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nrdivunique.in", "r", stdin); ^ user.cpp:11:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nrdivunique.out", "w", stdout); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d" , &n) ; n > 0 ; --n){ ^ user.cpp:13:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d" , &a , &b); ^

Ceva nu functioneaza?