0_0_36062430_17719.cpp:8:1: error: '_int64' does not name a type
_int64 hn[5843];
^
0_0_36062430_17719.cpp:11:18: error: '_int64' has not been declared
bool operator()(_int64 &a, _int64 &b)
^
0_0_36062430_17719.cpp:11:29: error: '_int64' has not been declared
bool operator()(_int64 &a, _int64 &b)
^
0_0_36062430_17719.cpp: In function 'int main()':
0_0_36062430_17719.cpp:19:2: error: 'hn' was not declared in this scope
hn[0] = 0;
^
0_0_36062430_17719.cpp:20:17: error: '_int64' was not declared in this scope
priority_queue<_int64, vector<_int64>, cmpp>q;
^
0_0_36062430_17719.cpp:20:32: error: the value of '_int64' is not usable in a constant expression
priority_queue<_int64, vector<_int64>, cmpp>q;
^
0_0_36062430_17719.cpp:20:17: note: '_int64' was not declared 'constexpr'
priority_queue<_int64, vector<_int64>, cmpp>q;
^
0_0_36062430_17719.cpp:20:38: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'
priority_queue<_int64, vector<_int64>, cmpp>q;
^
0_0_36062430_17719.cpp:20:38: error: expected a type, got '_int64'
0_0_36062430_17719.cpp:20:38: error: template argument 2 is invalid
0_0_36062430_17719.cpp:20:45: error: template argument 1 is invalid
priority_queue<_int64, vector<_int64>, cmpp>q;
^
0_0_36062430_17719.cpp:20:45: error: template argument 2 is invalid
0_0_36062430_17719.cpp:20:47: error: invalid type in declaration before ';' token
priority_queue<_int64, vector<_int64>, cmpp>q;
^
0_0_36062430_17719.cpp:23:5: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(1);
^
0_0_36062430_17719.cpp:24:13: error: request for member 'empty' in 'q', which is of non-class type 'int'
while (!q.empty())
^
0_0_36062430_17719.cpp:30:11: error: expected ';' before 'j'
_int64 j = q.top();
^
0_0_36062430_17719.cpp:31:6: error: request for member 'pop' in 'q', which is of non-class type 'int'
q.pop();
^
0_0_36062430_17719.cpp:32:8: error: 'j' was not declared in this scope
if (j != hn[i - 1])
^
0_0_36062430_17719.cpp:35:7: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(j * 2);
^
0_0_36062430_17719.cpp:36:7: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(j * 3);
^
0_0_36062430_17719.cpp:37:7: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(j * 5);
^
0_0_36062430_17719.cpp:38:7: error: request for member 'push' in 'q', which is of non-class type 'int'
q.push(j * 7);
^
|