Borderou de evaluare (job #1726192)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 7 iulie 2016 14:50:37
Problema Cuburi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:1: error: ‘vector’ does not name a type vector < int > v[ DIM ]; ^ user.cpp: In function ‘int main()’: user.cpp:31:13: error: ‘v’ was not declared in this scope v[ i ].push_back( x ); ^ user.cpp:25:12: warning: unused variable ‘m’ [-Wunused-variable] int n, m, i, j, k, x, y, s, t, d, maxi, indi; ^ user.cpp:25:27: warning: unused variable ‘y’ [-Wunused-variable] int n, m, i, j, k, x, y, s, t, d, maxi, indi; ^ user.cpp:25:30: warning: unused variable ‘s’ [-Wunused-variable] int n, m, i, j, k, x, y, s, t, d, maxi, indi; ^ user.cpp:25:33: warning: unused variable ‘t’ [-Wunused-variable] int n, m, i, j, k, x, y, s, t, d, maxi, indi; ^ user.cpp:25:36: warning: unused variable ‘d’ [-Wunused-variable] int n, m, i, j, k, x, y, s, t, d, maxi, indi; ^ user.cpp:25:39: warning: unused variable ‘maxi’ [-Wunused-variable] int n, m, i, j, k, x, y, s, t, d, maxi, indi; ^ user.cpp:25:45: warning: unused variable ‘indi’ [-Wunused-variable] int n, m, i, j, k, x, y, s, t, d, maxi, indi; ^ user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cuburi5.in","r",stdin); ^ user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cuburi5.out","w",stdout); ^ user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:30:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^

Ceva nu functioneaza?