Borderou de evaluare (job #1398917)

Utilizator felixiPuscasu Felix felixi Data 24 martie 2015 14:15:28
Problema Bleach Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:7: error: ‘I64’ does not name a type const I64 NMAX = 1000000; ^ user.cpp:10:7: error: ‘I64’ does not name a type const I64 KMAX = 1000; ^ user.cpp:13:27: error: ‘I64’ does not name a type bool operator()(const I64 &a, const I64 &b) { ^ user.cpp:13:32: error: ISO C++ forbids declaration of ‘a’ with no type [-fpermissive] bool operator()(const I64 &a, const I64 &b) { ^ user.cpp:13:41: error: ‘I64’ does not name a type bool operator()(const I64 &a, const I64 &b) { ^ user.cpp:13:46: error: ISO C++ forbids declaration of ‘b’ with no type [-fpermissive] bool operator()(const I64 &a, const I64 &b) { ^ user.cpp:18:17: error: ‘I64’ was not declared in this scope priority_queue <I64, vector <I64>, cmp> Hp; ^ user.cpp:18:30: error: ‘I64’ was not declared in this scope priority_queue <I64, vector <I64>, cmp> Hp; ^ user.cpp:18:33: error: template argument 1 is invalid priority_queue <I64, vector <I64>, cmp> Hp; ^ user.cpp:18:33: error: template argument 2 is invalid user.cpp:18:39: error: template argument 1 is invalid priority_queue <I64, vector <I64>, cmp> Hp; ^ user.cpp:18:39: error: template argument 2 is invalid user.cpp:18:43: error: invalid type in declaration before ‘;’ token priority_queue <I64, vector <I64>, cmp> Hp; ^ user.cpp:20:1: error: ‘I64’ does not name a type I64 N,K, Power = 0, Init = 0; ^ user.cpp: In function ‘int main()’: user.cpp:23:11: error: ‘N’ was not declared in this scope in >> N >> K; ^ user.cpp:23:16: error: ‘K’ was not declared in this scope in >> N >> K; ^ user.cpp:24:10: error: ‘I64’ was not declared in this scope for( I64 i = 1; i < N + K; ++i ) { ^ user.cpp:24:14: error: expected ‘;’ before ‘i’ for( I64 i = 1; i < N + K; ++i ) {

Ceva nu functioneaza?