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_36969819_13613.cpp:3:13: error: 'i64' does not name a type
 #define int i64
             ^
0_0_36969819_13613.cpp:5:7: note: in expansion of macro 'int'
 const int N = 1e6+6;
       ^
0_0_36969819_13613.cpp:3:13: error: 'i64' does not name a type
 #define int i64
             ^
0_0_36969819_13613.cpp:6:1: note: in expansion of macro 'int'
 int w[N];
 ^
0_0_36969819_13613.cpp:3:13: error: 'i64' was not declared in this scope
 #define int i64
             ^
0_0_36969819_13613.cpp:7:6: note: in expansion of macro 'int'
 pair<int,int> edg[N];
      ^
0_0_36969819_13613.cpp:3:13: error: 'i64' was not declared in this scope
 #define int i64
             ^
0_0_36969819_13613.cpp:7:10: note: in expansion of macro 'int'
 pair<int,int> edg[N];
          ^
0_0_36969819_13613.cpp:7:13: error: template argument 1 is invalid
 pair<int,int> edg[N];
             ^
0_0_36969819_13613.cpp:7:13: error: template argument 2 is invalid
0_0_36969819_13613.cpp:7:19: error: 'N' was not declared in this scope
 pair<int,int> edg[N];
                   ^
0_0_36969819_13613.cpp:7:21: error: invalid type in declaration before ';' token
 pair<int,int> edg[N];
                     ^
0_0_36969819_13613.cpp:3:13: error: 'i64' does not name a type
 #define int i64
             ^
0_0_36969819_13613.cpp:8:1: note: in expansion of macro 'int'
 int f[N];
 ^
0_0_36969819_13613.cpp:3:13: error: 'i64' was not declared in this scope
 #define int i64
             ^
0_0_36969819_13613.cpp:9:8: note: in expansion of macro 'int'
 vector<int> g[N];
        ^
0_0_36969819_13613.cpp:9:11: error: template argument 1 is invalid
 vector<int> g[N];
           ^
0_0_36969819_13613.cpp:9:11: error: template argument 2 is invalid
0_0_36969819_13613.cpp:9:15: error: 'N' was not declared in this scope
 vector<int> g[N];
               ^
0_0_36969819_13613.cpp:9:17: error: invalid type in declaration before ';' token
 vector<int> g[N];
                 ^
0_0_36969819_13613.cpp:3:13: error: 'i64' does not name a type
 #define int i64
             ^
0_0_36969819_13613.cpp:10:1: note: in expansion of macro 'int'
 int depth[N];
 ^
0_0_36969819_13613.cpp:3:13: error: variable or field 'init' declared void
 #define int i64
             ^
0_0_36969819_13613.cpp:12:11: note: in expansion of macro 'int'
 void init(int n) {
           ^
0_0_36969819_13613.cpp:3:13: error: 'i64' was not declared in this scope
 #define int i64
             ^
0_0_36969819_13613.cpp:12:11: note: in expansion of macro 'int'
 void init(int 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-11-30 01:30:02, Gzip enabled