Borderou de evaluare (job #1407501)

Utilizator chiriacandrei25Chiriac Andrei chiriacandrei25 Data 29 martie 2015 18:53:27
Problema Mafia Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:27:18: error: ‘T’ was not declared in this scope scanf("%d", &T); ^ user.cpp:23:9: warning: unused variable ‘n’ [-Wunused-variable] int n,k,i; ^ user.cpp:23:11: warning: unused variable ‘k’ [-Wunused-variable] int n,k,i; ^ user.cpp:23:13: warning: unused variable ‘i’ [-Wunused-variable] int n,k,i; ^ user.cpp:24:8: warning: unused variable ‘w’ [-Wunused-variable] el w; ^ user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mafia.in","r",stdin); ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mafia.out","w",stdout); ^ user.cpp:32:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld %lld", &n, &m, &x); ^ user.cpp:34:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &a); ^

Ceva nu functioneaza?