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_25574533_23183.cpp: In function 'void mul(int (*)[55], int (*)[55], int (*)[55])':
0_0_25574533_23183.cpp:11:22: error: 'max' is not a member of 'std'
     rep(k) f[i][j] = std::max(f[i][j] ,a[i][k]+b[k][j]);
                      ^
0_0_25574533_23183.cpp: In function 'int main()':
0_0_25574533_23183.cpp:23:18: error: 'max' is not a member of 'std'
        g[x][y] = std::max(g[x][y],z);
                  ^
0_0_25574533_23183.cpp:29:34: error: 'max' is not a member of 'std'
     rep(k)rep(i)rep(j) d[i][j] = std::max(d[i][j],d[i][k]+d[k][j]);
                                  ^
0_0_25574533_23183.cpp:32:36: error: 'max' is not a member of 'std'
       rep(i)rep(j)rep(k) f[i][j] = std::max(f[i][j],b[x][i][k]+d[k][j]);
                                    ^
0_0_25574533_23183.cpp:41:18: error: 'max' is not a member of 'std'
       rep(i) z = std::max(z,a[A][x][i]+b[B][i][y]);
                  ^


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-26 19:03:58, Gzip enabled