/ SUOI /

记录详情

Compile Error

/in/foo.cc: In function 'void getVal(int, int)':
/in/foo.cc:48:38: error: 'max' was not declared in this scope
   V[at].Val=max(V[at].Val, V[to].Size);
                                      ^
/in/foo.cc: In function 'void getDis(int, int)':
/in/foo.cc:69:39: error: 'max' was not declared in this scope
   V[at].Dis=max(V[to].Dis+1, V[at].Dis);
                                       ^
/in/foo.cc: In function 'void Deal(int, int)':
/in/foo.cc:148:24: error: 'min' was not declared in this scope
  L=0;R=min(d, V[at].Dis);
                        ^
/in/foo.cc: In function 'int LCA(int, int)':
/in/foo.cc:169:33: error: 'swap' was not declared in this scope
  if(V[a].Dep>V[b].Dep) swap(a, b);
                                 ^

信息

递交者
类型
递交
题目
#45 JPY知识树
语言
C++
递交时间
2018-05-08 08:59:07
评测时间
2018-05-08 08:59:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes