Borderou de evaluare (job #1849111)

Utilizator mega_bit8Badita Robert mega_bit8 Data 17 ianuarie 2017 00:26:58
Problema Sokoban Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:20:24: error: ‘__int64’ does not name a type bool operator()(const __int64 &t1, const __int64 &t2) const ^ user.cpp:20:33: error: ISO C++ forbids declaration of ‘t1’ with no type [-fpermissive] bool operator()(const __int64 &t1, const __int64 &t2) const ^ user.cpp:20:43: error: ‘__int64’ does not name a type bool operator()(const __int64 &t1, const __int64 &t2) const ^ user.cpp:20:52: error: ISO C++ forbids declaration of ‘t2’ with no type [-fpermissive] bool operator()(const __int64 &t1, const __int64 &t2) const ^ user.cpp:28:17: error: ‘__int64’ was not declared in this scope priority_queue <__int64, vector<__int64>, LongCompare > pq; ^ user.cpp:28:33: error: ‘__int64’ was not declared in this scope priority_queue <__int64, vector<__int64>, LongCompare > pq; ^ user.cpp:28:40: error: template argument 1 is invalid priority_queue <__int64, vector<__int64>, LongCompare > pq; ^ user.cpp:28:40: error: template argument 2 is invalid user.cpp:28:55: error: template argument 1 is invalid priority_queue <__int64, vector<__int64>, LongCompare > pq; ^ user.cpp:28:55: error: template argument 2 is invalid user.cpp:28:59: error: invalid type in declaration before ‘;’ token priority_queue <__int64, vector<__int64>, LongCompare > pq; ^ user.cpp: In function ‘bool lee(int, int, int, int, int)’: user.cpp:45:13: error: request for member ‘empty’ in ‘pq’, which is of non-class type ‘int’ while (!pq.empty()) ^ user.cpp:47:6: error: request for member ‘pop’ in ‘pq’, which is of non-class type ‘int’ pq.pop(); ^ user.cpp:49:5: error: request for member ‘push’ in ‘pq’, which is of non-class type ‘int’ pq.push(((__int64)(sl * 2048 + sc) << 32) + abs(sl - el) + abs(sc - ec)); ^ user.cpp:49:12: error: ‘__int64’ was not declared in this scope pq.push(((__int64)(sl * 2048 + sc) << 32) + abs(sl - el) + abs(sc - ec)); ^ user.cpp:49:57: error: ‘abs’ was not declared in this scope pq.push(((__int64)(sl * 2048 + sc) << 32) + abs(sl - el) + abs(sc - ec)); ^ user.cpp:50:13: error: request for member ‘empty’ in ‘pq’, which is of non-class type ‘int’ while (!pq.empty()) ^ user.cpp:52:22: error: request for member ‘top’ in ‘pq’, which is of non-class type ‘int’ int pos = (int)(pq.top() >> 32);

Ceva nu functioneaza?