/ new_bzoj /

记录详情

Compile Error

/in/foo.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
/in/foo.cc: In function 'void solve()':
/in/foo.cc:22:50: error: 'max' was not declared in this scope
                         dp[i][j] = min(dp[i][j], max(dp[k][j], dp[i][k])); 
                                                  ^~~
/in/foo.cc:22:50: note: suggested alternative: 'map'
                         dp[i][j] = min(dp[i][j], max(dp[k][j], dp[i][k])); 
                                                  ^~~
                                                  map
/in/foo.cc:22:36: error: 'min' was not declared in this scope
                         dp[i][j] = min(dp[i][j], max(dp[k][j], dp[i][k])); 
                                    ^~~
/in/foo.cc:24:36: error: 'max' was not declared in this scope
                         dp[i][j] = max(dp[i][k], dp[k][j]); 
                                    ^~~
/in/foo.cc:24:36: note: suggested alternative: 'map'
                         dp[i][j] = max(dp[i][k], dp[k][j]); 
                                    ^~~
                                    map
/in/foo.cc: In function 'int main()':
/in/foo.cc:32:5: error: 'scanf' was not declared in this scope
     scanf("%d%d%d", &n, &m, &q); 
     ^~~~~
/in/foo.cc:33:5: error: 'memset' was not declared in this scope
     memset(map, -1, sizeof(map)); 
     ^~~~~~
/in/foo.cc:44:9: error: 'printf' was not declared in this scope
         printf("%d\n", dp[s][t]); 
         ^~~~~~
/in/foo.cc:44:9: note: suggested alternative: 'int'
         printf("%d\n", dp[s][t]); 
         ^~~~~~
         int

信息

递交者
类型
递交
题目
Cow Hurdles 奶牛跨栏
语言
C++
递交时间
2017-10-14 08:19:20
评测时间
2017-10-14 08:19:20
评测机
分数
0
总耗时
23ms
峰值内存
3.07 MiB