Borderou de evaluare (job #1026678)
Utilizator | Data | 11 noiembrie 2013 21:27:47 | |
---|---|---|---|
Problema | Petrica | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs2(int)’:
user.cpp:26:18: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘y’
vec[aux].y = vec.size () - 1;
^
user.cpp: In function ‘int main()’:
user.cpp:45:28: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
dp[1] -= dp[vec[i].x];
^
user.cpp:48:29: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘y’
if (j <= vec[i].y) J = vec[i].x;
^
user.cpp:48:43: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
if (j <= vec[i].y) J = vec[i].x;
^
user.cpp:49:32: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
dp[J] -= dp[vec[j].x];
^
user.cpp:52:33: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘y’
if (k <= vec[i].y) K = vec[i].x;
^
user.cpp:52:47: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
if (k <= vec[i].y) K = vec[i].x;
^
user.cpp:53:33: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘y’
if (k <= vec[j].y) K = vec[j].x;
^
user.cpp:53:47: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
if (k <= vec[j].y) K = vec[j].x;
^
user.cpp:54:36: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
dp[K] -= dp[vec[k].x];
^
user.cpp:55:54: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
int maxi = max(max (dp[1], dp[vec[j].x]), max (dp[vec[i].x], dp[vec[k].x]));
^
user.cpp:55:74: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
int maxi = max(max (dp[1], dp[vec[j].x]), max (dp[vec[i].x], dp[vec[k].x]));
^
user.cpp:55:88: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
int maxi = max(max (dp[1], dp[vec[j].x]), max (dp[vec[i].x], dp[vec[k].x]));
^
user.cpp:56:54: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
int mini = min(min (dp[1], dp[vec[j].x]), min (dp[vec[i].x], dp[vec[k].x]));
^
user.cpp:56:74: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
int mini = min(min (dp[1], dp[vec[j].x]), min (dp[vec[i].x], dp[vec[k].x]));
^
user.cpp:56:88: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, unsigned int> > >::value_type’ has no member named ‘x’
int mini = min(min (dp[1], dp[vec[j].x]), min (dp[vec[i].x], dp[vec[k].x]));
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !