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_31489391_20994.cpp:22:14: error: 'array' in namespace 'std' does not name a template type
 typedef std::array<double,4> State;
              ^
0_0_31489391_20994.cpp:24:1: error: 'State' does not name a type
 State f[MAXN][MAXN][MAXN][MAXN][4];
 ^
0_0_31489391_20994.cpp:28:1: error: 'State' does not name a type
 State dfs(int turn){
 ^
0_0_31489391_20994.cpp:87:1: error: 'State' does not name a type
 State cal_group(){
 ^
0_0_31489391_20994.cpp: In function 'int main()':
0_0_31489391_20994.cpp:110:8: error: 'f' was not declared in this scope
        f[i][j][k][l][p][0]=f[i][j][k][l][p][2]=1;
        ^
0_0_31489391_20994.cpp:115:9: error: 'f' was not declared in this scope
         f[i][j][k][l][p][3]=1;
         ^
0_0_31489391_20994.cpp:119:9: error: 'f' was not declared in this scope
         f[i][j][k][l][p][1]=1;
         ^
0_0_31489391_20994.cpp:136:3: error: 'State' was not declared in this scope
   State ans=cal_group();
   ^
0_0_31489391_20994.cpp:137:33: error: 'ans' was not declared in this scope
   cout<<fixed<<setprecision(6)<<ans[0]<<" "<<ans[1]<<" "<<ans[3]<<"\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-06-26 17:02:35, Gzip enabled