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_38301809_18759.cpp:6:22: error: size of array 'mp' has non-integral type 'double'
 vector<int >mp[1e5+10];     //第一次dfs的队列
                      ^
0_0_38301809_18759.cpp:7:23: error: size of array 'mpp' has non-integral type 'double'
 vector<int >mpp[1e5+10];    //第二次dfs
                       ^
0_0_38301809_18759.cpp:8:15: error: size of array 'vis' has non-integral type 'double'
 int vis[1e5+10];            //vis[i]表示已经遍历过节点i dfs避免重复遍历
               ^
0_0_38301809_18759.cpp:9:15: error: size of array 'val' has non-integral type 'double'
 int val[1e5+10];            //val[i]表示第i个节点的通讯代价为val[i]
               ^
0_0_38301809_18759.cpp:10:15: error: size of array 'num' has non-integral type 'double'
 int num[1e5+10];            //num[i]表示
               ^
0_0_38301809_18759.cpp:11:17: error: size of array 'color' has non-integral type 'double'
 int color[1e5+10];          //缩点染色思想
                 ^
0_0_38301809_18759.cpp:12:18: error: size of array 'degree' has non-integral type 'double'
 int degree[1e5+10];         //degree[i]表示节点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-06-29 16:54:21, Gzip enabled