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_31424300_28415.cpp:16:1: error: 'queue' does not name a type
 queue<node>Q;
 ^
0_0_31424300_28415.cpp: In function 'void print(node, int, int)':
0_0_31424300_28415.cpp:30:15: error: 'putchar' was not declared in this scope
   putchar(x.ch);
               ^
0_0_31424300_28415.cpp:33:14: error: 'putchar' was not declared in this scope
  putchar(x.ch);
              ^
0_0_31424300_28415.cpp: In function 'int main()':
0_0_31424300_28415.cpp:39:34: error: 'memset' was not declared in this scope
   memset(vis[kk],0,sizeof vis[kk]);
                                  ^
0_0_31424300_28415.cpp:51:3: error: 'Q' was not declared in this scope
   Q.push(rec);
   ^
0_0_31424300_28415.cpp:62:34: error: 'swap' was not declared in this scope
     swap(vec1.num[t],vec1.num[t1]);
                                  ^
0_0_31424300_28415.cpp:78:15: error: 'scanf' was not declared in this scope
  scanf("%d",&T);
               ^
0_0_31424300_28415.cpp:82:4: error: 'cin' was not declared in this scope
    cin>>ch;
    ^
0_0_31424300_28415.cpp:88:4: error: 'cin' was not declared in this scope
    cin>>ch;
    ^
0_0_31424300_28415.cpp:94:39: error: 'puts' was not declared in this scope
   if (!vis[k][ansk]) puts("unsolvable");
                                       ^


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-09-29 07:16:09, Gzip enabled