Borderou de evaluare (job #1795460)

Utilizator NicusorTelescu Nicolae Nicusor Data 2 noiembrie 2016 14:47:31
Problema Autobuze3 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:155:24: error: ‘x’ was not declared in this scope autobuz_om[x].push_back(x); ^ user.cpp:138:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze3.in","r",stdin); ^ user.cpp:139:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze3.out","w",stdout); ^ user.cpp:141:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:146:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&m); ^ user.cpp:164:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n",&a,&b,&c); ^

Ceva nu functioneaza?