Borderou de evaluare (job #1534291)

Utilizator SilviuIIon Silviu SilviuI Data 23 noiembrie 2015 17:14:21
Problema RangeMode 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:33:9: error: ‘map’ was not declared in this scope map <int,int> p; maxx=often=0; ^ user.cpp:33:14: error: expected primary-expression before ‘int’ map <int,int> p; maxx=often=0; ^ user.cpp:33:14: error: expected ‘;’ before ‘int’ user.cpp:36:17: error: ‘p’ was not declared in this scope p[it->first]+=it->second; ^ user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rangemode.in","r",stdin); ^ user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rangemode.out","w",stdout); ^ user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:18:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i=1;i<=n;i++) scanf("%d",&t[i]); ^ user.cpp:20:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&vx[i].x,&vx[i].y); vx[i].pos=i; vy[i]=vx[i]; ^

Ceva nu functioneaza?