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_20055959_25174.cpp: In constructor 'node::node(int (*)[3], int, int, int)':
0_0_20055959_25174.cpp:21:27: error: 'memset' was not declared in this scope
   memset(ans,0,sizeof(ans));
                           ^
0_0_20055959_25174.cpp: In function 'void dfs()':
0_0_20055959_25174.cpp:38:16: error: 'class std::queue<node>' has no member named 'x'
    if( check(q.x+k[ki][0],q.y+k[ki][1]) ) continue;
                ^
0_0_20055959_25174.cpp:38:29: error: 'class std::queue<node>' has no member named 'y'
    if( check(q.x+k[ki][0],q.y+k[ki][1]) ) continue;
                             ^
0_0_20055959_25174.cpp:39:16: error: 'class std::queue<node>' has no member named 'x'
    swap( t.a[q.x][q.y] , t.a[q.x+k[ki][0]][q.y+k[ki][1]] );
                ^
0_0_20055959_25174.cpp:39:21: error: 'class std::queue<node>' has no member named 'y'
    swap( t.a[q.x][q.y] , t.a[q.x+k[ki][0]][q.y+k[ki][1]] );
                     ^
0_0_20055959_25174.cpp:39:32: error: 'class std::queue<node>' has no member named 'x'
    swap( t.a[q.x][q.y] , t.a[q.x+k[ki][0]][q.y+k[ki][1]] );
                                ^
0_0_20055959_25174.cpp:39:46: error: 'class std::queue<node>' has no member named 'y'
    swap( t.a[q.x][q.y] , t.a[q.x+k[ki][0]][q.y+k[ki][1]] );
                                              ^
0_0_20055959_25174.cpp: In function 'int main()':
0_0_20055959_25174.cpp:48:25: error: 'memset' was not declared in this scope
   memset(mp,0,sizeof(mp));
                         ^


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-07-05 14:33:10, Gzip enabled