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_30545270_31845.cpp: In function 'void init()':
0_0_30545270_31845.cpp:15:18: error: 'Fill' was not declared in this scope
     Fill(head, -1); cnt = 0;
                  ^
0_0_30545270_31845.cpp: At global scope:
0_0_30545270_31845.cpp:42:1: error: 'vector' does not name a type
 vector<int>vs[2];
 ^
0_0_30545270_31845.cpp: In function 'void query(int, int, int, int)':
0_0_30545270_31845.cpp:46:9: error: 'vs' was not declared in this scope
         vs[f].pb(tree[f][id].val);
         ^
0_0_30545270_31845.cpp: In function 'void dij(int, int)':
0_0_30545270_31845.cpp:59:5: error: 'priority_queue' was not declared in this scope
     priority_queue<node> q;
     ^
0_0_30545270_31845.cpp:59:24: error: expected primary-expression before '>' token
     priority_queue<node> q;
                        ^
0_0_30545270_31845.cpp:60:15: error: 'inf' was not declared in this scope
     Fill(dis, inf); Fill(vis, false);
               ^
0_0_30545270_31845.cpp:60:18: error: 'Fill' was not declared in this scope
     Fill(dis, inf); Fill(vis, false);
                  ^
0_0_30545270_31845.cpp:62:7: error: request for member 'push' in 'q', which is of non-class type 'int'
     q.push(node{st, 0, 0, 0});
       ^
0_0_30545270_31845.cpp:63:15: error: request for member 'empty' in 'q', which is of non-class type 'int'
     while (!q.empty()) {
               ^
0_0_30545270_31845.cpp:64:20: error: request for member 'top' in 'q', which is of non-class type 'int'
         node u = q.top();
                    ^
0_0_30545270_31845.cpp:65:11: error: request for member 'pop' in 'q', which is of non-class type 'int'
         q.pop();
           ^
0_0_30545270_31845.cpp:73:19: error: request for member 'push' in 'q', which is of non-class type 'int'
                 q.push(node{to, 0, dis[u.ti][to], u.ti});
                   ^
0_0_30545270_31845.cpp:77:19: error: request for member 'push' in 'q', which is of non-class type 'int'
                 q.push(node{to, 0, dis[u.ti+1][to], u.ti+1});
                   ^
0_0_30545270_31845.cpp:83:34: error: 'min' was not declared in this scope
         ans = min(ans, dis[i][ed]);
                                  ^
0_0_30545270_31845.cpp:85:51: error: 'puts' was not declared in this scope
     if (ans == inf) puts("CreationAugust is a sb!");
                                                   ^
0_0_30545270_31845.cpp:86:28: error: 'printf' was not declared in this scope
     else printf("%d\n", ans);
                            ^
0_0_30545270_31845.cpp: In function 'void solve()':
0_0_30545270_31845.cpp:89:31: error: 'scanf' was not declared in this scope
     scanf("%d%d%d", &n, &q, &k);
                               ^
0_0_30545270_31845.cpp:96:9: error: 'vs' was not declared in this scope
         vs[0].clear(); vs[1].clear();
         ^
0_0_30545270_31845.cpp:98:38: error: 'sz' was not declared in this scope
         for (int i = 0 ; i < sz(vs[1]) ; i ++) {
                                      ^
0_0_30545270_31845.cpp:105:38: error: 'sz' was not declared in this scope
         for (int i = 0 ; i < sz(vs[1]) ; i ++) {
                                      ^


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-30 01:25:56, Gzip enabled