Borderou de evaluare (job #2249187)

Utilizator ICHTV_TINCA_MIRICA_POPESCUSB KILLA GUTA KEED ICHTV_TINCA_MIRICA_POPESCU Data 29 septembrie 2018 14:44:13
Problema Fraud Status done
Runda Nationala ACM ICPC 2018 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:27:5: error: expected ‘;’ before ‘for’ for(int i = 1; i <= 365 ; ++i) --f[a[i]]; ^~~ user.cpp:27:20: error: ‘i’ was not declared in this scope for(int i = 1; i <= 365 ; ++i) --f[a[i]]; ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fraud.in", "r", stdin); ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fraud.out", "w", stdout); ^ user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^

Ceva nu functioneaza?