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_17022453_16900.cpp:6:1: error: 'usingnamespace' does not name a type
 usingnamespace std;
 ^
0_0_17022453_16900.cpp:8:1: error: 'bitset' does not name a type
 bitset<20000010> vis[2];
 ^
0_0_17022453_16900.cpp: In member function 'unsigned int MAZE::zip()':
0_0_17022453_16900.cpp:25:23: error: 'sort' was not declared in this scope
         sort(tmp,tmp+4);
                       ^
0_0_17022453_16900.cpp:25:23: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_17022453_16900.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4705:5: note:   'std::sort'
     sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
     ^
0_0_17022453_16900.cpp: At global scope:
0_0_17022453_16900.cpp:31:1: error: 'queue' does not name a type
 queue<unsigned> qs,qt;
 ^
0_0_17022453_16900.cpp:34:10: error: variable or field 'bfs' declared void
 void bfs(queue<unsigned>& que,int d){
          ^
0_0_17022453_16900.cpp:34:10: error: 'queue' was not declared in this scope
0_0_17022453_16900.cpp:34:10: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_17022453_16900.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:   'std::queue'
     class queue
           ^
0_0_17022453_16900.cpp:34:16: error: expected primary-expression before 'unsigned'
 void bfs(queue<unsigned>& que,int d){
                ^
0_0_17022453_16900.cpp:34:31: error: expected primary-expression before 'int'
 void bfs(queue<unsigned>& que,int d){
                               ^


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 19:56:37, Gzip enabled