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_30132180_22283.cpp:13:82: error: expected primary-expression before ',' token
 ll fact[16] = { 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800?, 479001600, 6227020800, 87178291200, 1307674368000 };
                                                                                  ^
0_0_30132180_22283.cpp:13:134: error: expected ':' before '}' token
 ll fact[16] = { 1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800?, 479001600, 6227020800, 87178291200, 1307674368000 };
                                                                                                                                      ^
0_0_30132180_22283.cpp:13:134: error: expected primary-expression before '}' token
0_0_30132180_22283.cpp: In function 'void BFS(node)':
0_0_30132180_22283.cpp:59:5: error: 'queue' was not declared in this scope
     queue<node>q;
     ^
0_0_30132180_22283.cpp:59:15: error: expected primary-expression before '>' token
     queue<node>q;
               ^
0_0_30132180_22283.cpp:59:16: error: 'q' was not declared in this scope
     queue<node>q;
                ^
0_0_30132180_22283.cpp:60:5: error: 'map' was not declared in this scope
     map<ll, int>mp;
     ^
0_0_30132180_22283.cpp:60:11: error: expected primary-expression before ',' token
     map<ll, int>mp;
           ^
0_0_30132180_22283.cpp:60:13: error: expected primary-expression before 'int'
     map<ll, int>mp;
             ^
0_0_30132180_22283.cpp:70:32: error: 'printf' was not declared in this scope
             printf("%d", pp.cnt);
                                ^
0_0_30132180_22283.cpp:77:44: error: 'swap' was not declared in this scope
             swap(pp.a[i][j], pp.a[i - 1][j]);
                                            ^
0_0_30132180_22283.cpp:80:16: error: 'mp' was not declared in this scope
             if(mp[x] == 0)
                ^
0_0_30132180_22283.cpp:82:13: error: 'mp' was not declared in this scope
             mp[x] = 1;
             ^
0_0_30132180_22283.cpp:86:44: error: 'swap' was not declared in this scope
             swap(pp.a[i][j], pp.a[i + 1][j]);
                                            ^
0_0_30132180_22283.cpp:89:16: error: 'mp' was not declared in this scope
             if(mp[x] == 0)
                ^
0_0_30132180_22283.cpp:91:13: error: 'mp' was not declared in this scope
             mp[x] = 1;
             ^
0_0_30132180_22283.cpp:95:44: error: 'swap' was not declared in this scope
             swap(pp.a[i][j], pp.a[i][j - 1]);
                                            ^
0_0_30132180_22283.cpp:98:16: error: 'mp' was not declared in this scope
             if(mp[x] == 0)
                ^
0_0_30132180_22283.cpp:100:13: error: 'mp' was not declared in this scope
             mp[x] = 1;
             ^
0_0_30132180_22283.cpp:104:44: error: 'swap' was not declared in this scope
             swap(pp.a[i][j], pp.a[i][j + 1]);
                                            ^
0_0_30132180_22283.cpp:107:16: error: 'mp' was not declared in this scope
             if(mp[x] == 0)
                ^
0_0_30132180_22283.cpp: In function 'int main()':
0_0_30132180_22283.cpp:116:19: error: 'scanf' was not declared in this scope
     scanf("%d", &T);
                   ^


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-26 16:03:37, Gzip enabled