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_38998165_20869.cpp:1:1: error: 'vector' does not name a type
    1 | vector<int> g[3][N];
      | ^~~~~~
0_0_38998165_20869.cpp:2:10: error: 'N' was not declared in this scope
    2 | int d[3][N],ans[3][N],n,m;
      |          ^
0_0_38998165_20869.cpp:2:20: error: 'N' was not declared in this scope
    2 | int d[3][N],ans[3][N],n,m;
      |                    ^
0_0_38998165_20869.cpp: In function 'void Add(int, int, int)':
0_0_38998165_20869.cpp:7:5: error: 'g' was not declared in this scope
    7 |     g[i][u].pb(v);
      |     ^
0_0_38998165_20869.cpp:8:5: error: 'd' was not declared in this scope
    8 |     d[i][v]++;
      |     ^
0_0_38998165_20869.cpp: In function 'void build()':
0_0_38998165_20869.cpp:14:5: error: 'FOR0' was not declared in this scope
   14 |     FOR0(i,3) FOR0(j,N) g[i][j].clear(),d[i][j]=0;
      |     ^~~~
0_0_38998165_20869.cpp:19:9: error: 'RD' was not declared in this scope
   19 |         RD(op); RD(x,y);
      |         ^~
0_0_38998165_20869.cpp: In function 'int top_sort(int)':
0_0_38998165_20869.cpp:31:5: error: 'queue' was not declared in this scope
   31 |     queue<int> Q;
      |     ^~~~~
0_0_38998165_20869.cpp:31:11: error: expected primary-expression before 'int'
   31 |     queue<int> Q;
      |           ^~~
0_0_38998165_20869.cpp:33:5: error: 'FOR1' was not declared in this scope
   33 |     FOR1(i,n+n) if(!d[t][i]) ans[t][i]=cnt++,Q.push(i);
      |     ^~~~
0_0_38998165_20869.cpp:34:12: error: 'Q' was not declared in this scope
   34 |     while(!Q.empty())
      |            ^
0_0_38998165_20869.cpp:38:19: error: 'g' was not declared in this scope
   38 |         FOR0(i,SZ(g[t][j]))
      |                   ^
0_0_38998165_20869.cpp:38:16: error: 'SZ' was not declared in this scope
   38 |         FOR0(i,SZ(g[t][j]))
      |                ^~
0_0_38998165_20869.cpp:38:9: error: 'FOR0' was not declared in this scope
   38 |         FOR0(i,SZ(g[t][j]))
      |         ^~~~
0_0_38998165_20869.cpp: In function 'void deal()':
0_0_38998165_20869.cpp:51:5: error: 'FOR0' was not declared in this scope
   51 |     FOR0(i,3) if(!top_sort(i))
      |     ^~~~
0_0_38998165_20869.cpp:56:5: error: 'puts' was not declared in this scope
   56 |     puts("POSSIBLE");
      |     ^~~~
0_0_38998165_20869.cpp:57:5: error: 'FOR1' was not declared in this scope
   57 |     FOR1(i,n) printf("%d %d %d %d %d %d\n",ans[0][i],ans[1][i],ans[2][i],ans[0][i+n],ans[1][i+n],ans[2][i+n]);
      |     ^~~~
0_0_38998165_20869.cpp: In function 'int main()':
0_0_38998165_20869.cpp:64:5: error: 'Rush' was not declared in this scope
   64 |     Rush(n)
      |     ^~~~


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-05-19 04:00:50, Gzip enabled