F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_17022460_19060.cpp:5:1: error: 'usingnamespace' does not name a type
 usingnamespace std;
 ^
0_0_17022460_19060.cpp:13:1: error: 'map' does not name a type
 map<LL,bool> vis;
 ^
0_0_17022460_19060.cpp: In function 'bool check(long long int, int)':
0_0_17022460_19060.cpp:23:1: error: 'returnfalse' was not declared in this scope
 returnfalse;
 ^
0_0_17022460_19060.cpp:26:37: error: 'returnfalse' was not declared in this scope
 &&(ti+B[i].l>B[x].c)&&(ti<=B[x].c)) returnfalse;
                                     ^
0_0_17022460_19060.cpp:29:1: error: 'returntrue' was not declared in this scope
 returntrue;
 ^
0_0_17022460_19060.cpp: In function 'bool done(long long int)':
0_0_17022460_19060.cpp:38:1: error: 'returnfalse' was not declared in this scope
 returnfalse;
 ^
0_0_17022460_19060.cpp:40:1: error: 'returntrue' was not declared in this scope
 returntrue;
 ^
0_0_17022460_19060.cpp: In function 'int bfs(long long int)':
0_0_17022460_19060.cpp:49:13: error: 'return1' was not declared in this scope
 if(done(s)) return1;
             ^
0_0_17022460_19060.cpp:50:5: error: 'queue' was not declared in this scope
     queue<pair<LL,int>> que;
     ^
0_0_17022460_19060.cpp:50:5: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_17022460_19060.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:   'std::queue'
     class queue
           ^
0_0_17022460_19060.cpp:50:11: error: 'pair' was not declared in this scope
     queue<pair<LL,int>> que;
           ^
0_0_17022460_19060.cpp:50:11: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17022460_19060.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12: note:   'std::pair'
     struct pair
            ^
0_0_17022460_19060.cpp:6:12: error: expected primary-expression before 'long'
 #define LL long long
            ^
0_0_17022460_19060.cpp:50:16: note: in expansion of macro 'LL'
     queue<pair<LL,int>> que;
                ^
0_0_17022460_19060.cpp:51:5: error: 'que' was not declared in this scope
     que.push(make_pair(s,0));
     ^
0_0_17022460_19060.cpp:51:27: error: 'make_pair' was not declared in this scope
     que.push(make_pair(s,0));
                           ^
0_0_17022460_19060.cpp:51:27: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
                 from 0_0_17022460_19060.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:276:5: note:   'std::make_pair'
     make_pair(_T1&& __x, _T2&& __y)
     ^
0_0_17022460_19060.cpp:52:5: error: 'vis' was not declared in this scope
     vis.clear();
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 21:34:11, Gzip enabled