0_0_37030174_17367.cpp:9:1: error: 'jsjhdjsasa' does not name a type
jsjhdjsasa
^
0_0_37030174_17367.cpp:15:8: error: 'peo' was not declared in this scope
vector<peo> ps = vector<peo>();
^
0_0_37030174_17367.cpp:15:11: error: template argument 1 is invalid
vector<peo> ps = vector<peo>();
^
0_0_37030174_17367.cpp:15:11: error: template argument 2 is invalid
0_0_37030174_17367.cpp:15:16: error: invalid type in declaration before '=' token
vector<peo> ps = vector<peo>();
^
0_0_37030174_17367.cpp:15:25: error: 'peo' was not declared in this scope
vector<peo> ps = vector<peo>();
^
0_0_37030174_17367.cpp:15:28: error: template argument 1 is invalid
vector<peo> ps = vector<peo>();
^
0_0_37030174_17367.cpp:15:28: error: template argument 2 is invalid
0_0_37030174_17367.cpp: In function 'bool cmpSong(int, int)':
0_0_37030174_17367.cpp:18:16: error: invalid types 'int[const int]' for array subscript
return ps[a].song > ps[b].song;
^
0_0_37030174_17367.cpp:18:29: error: invalid types 'int[const int]' for array subscript
return ps[a].song > ps[b].song;
^
0_0_37030174_17367.cpp: In function 'bool cmpSay(int, int)':
0_0_37030174_17367.cpp:22:16: error: invalid types 'int[const int]' for array subscript
return ps[a].say > ps[b].song;
^
0_0_37030174_17367.cpp:22:28: error: invalid types 'int[const int]' for array subscript
return ps[a].say > ps[b].song;
^
0_0_37030174_17367.cpp: In function 'void solve()':
0_0_37030174_17367.cpp:33:17: error: 'peo' was not declared in this scope
ps = vector<peo>(0);
^
0_0_37030174_17367.cpp:33:20: error: template argument 1 is invalid
ps = vector<peo>(0);
^
0_0_37030174_17367.cpp:33:20: error: template argument 2 is invalid
0_0_37030174_17367.cpp:41:13: error: expected ';' before 'p'
peo p = peo{so, sa};
^
0_0_37030174_17367.cpp:42:12: error: request for member 'push_back' in 'ps', which is of non-class type 'int'
ps.push_back(p);
^
0_0_37030174_17367.cpp:42:22: error: 'p' was not declared in this scope
ps.push_back(p);
^
0_0_37030174_17367.cpp:55:41: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
bottom = max(ps[psong[i + 1]].song, ps[psong[i]].say);
^
0_0_37030174_17367.cpp:55:60: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
bottom = max(ps[psong[i + 1]].song, ps[psong[i]].say);
^
0_0_37030174_17367.cpp:59:33: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
bottom = ps[psong[i]].say;
^
0_0_37030174_17367.cpp:62:26: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
while (ps[psay[j]].say >= bottom)
^
0_0_37030174_17367.cpp:66:37: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
int df = ps[psong[i]].song - ps[psay[j]].say;
^
0_0_37030174_17367.cpp:66:56: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
int df = ps[psong[i]].song - ps[psay[j]].say;
^
0_0_37030174_17367.cpp:77:40: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
bottom = max(ps[psay[i + 1]].say, ps[psay[i]].song);
^
0_0_37030174_17367.cpp:77:57: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
bottom = max(ps[psay[i + 1]].say, ps[psay[i]].song);
^
0_0_37030174_17367.cpp:81:32: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
bottom = ps[psay[i]].song;
^
0_0_37030174_17367.cpp:84:27: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
while (ps[psong[j]].song >= bottom)
^
0_0_37030174_17367.cpp:88:36: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
int df = ps[psay[i]].say - ps[psong[j]].song;
^
0_0_37030174_17367.cpp:88:55: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}]' for array subscript
int df = ps[psay[i]].say - ps[psong[j]].song;
^
|