/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:13: error: 'n' was not declared in this scope
      cin >> n;
             ^
/in/foo.cc:38:9: error: 'cost' was not declared in this scope
         cost[u] = c;
         ^~~~
/in/foo.cc:41:13: error: 'root' was not declared in this scope
             root[v] = true;
             ^~~~
/in/foo.cc:46:14: error: 'root' was not declared in this scope
         if (!root[i]) {
              ^~~~
/in/foo.cc:48:25: error: 'dp' was not declared in this scope
             cout << min(dp[i][0], dp[i][1]) << endl;
                         ^~

信息

递交者
类型
递交
题目
P1144 小胖守皇宫
语言
C++
递交时间
2018-07-22 22:54:29
评测时间
2018-07-22 22:54:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes