0_0_15594922_6412\Main.java:2: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_15594922_6412\Main.java:2: 错误: 需要class, interface或enum
#include <algorithm>
^
0_0_15594922_6412\Main.java:3: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_15594922_6412\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_15594922_6412\Main.java:5: 错误: 非法字符: '#'
#include <iostream>
^
0_0_15594922_6412\Main.java:8: 错误: 需要class, interface或enum
typedef __int64 ll;
^
0_0_15594922_6412\Main.java:9: 错误: 需要class, interface或enum
const int maxn = 1e3 + 100;
^
0_0_15594922_6412\Main.java:10: 错误: 需要class, interface或enum
int G[maxn][maxn];
^
0_0_15594922_6412\Main.java:11: 错误: 需要class, interface或enum
ll dp[maxn][maxn];
^
0_0_15594922_6412\Main.java:13: 错误: 需要class, interface或enum
int main() {
^
0_0_15594922_6412\Main.java:16: 错误: 需要class, interface或enum
while (~scanf("%d%d", &n, &m)) {
^
0_0_15594922_6412\Main.java:17: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++)
^
0_0_15594922_6412\Main.java:17: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++)
^
0_0_15594922_6412\Main.java:18: 错误: 需要class, interface或enum
for (int j = 1; j <= m; j++)
^
0_0_15594922_6412\Main.java:18: 错误: 需要class, interface或enum
for (int j = 1; j <= m; j++)
^
0_0_15594922_6412\Main.java:20: 错误: 需要class, interface或enum
memset(dp, 0, sizeof(dp));
^
0_0_15594922_6412\Main.java:21: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_15594922_6412\Main.java:21: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_15594922_6412\Main.java:21: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++) {
^
0_0_15594922_6412\Main.java:22: 错误: 需要class, interface或enum
for (int j = 1; j <= m; j++) {
^
0_0_15594922_6412\Main.java:22: 错误: 需要class, interface或enum
for (int j = 1; j <= m; j++) {
^
0_0_15594922_6412\Main.java:25: 错误: 需要class, interface或enum
else if (i == 1) dp[i][j] = G[i][j] * G[i][j - 1] + dp[i][j - 1];
^
0_0_15594922_6412\Main.java:26: 错误: 需要class, interface或enum
else dp[i][j] = min(G[i][j] * G[i - 1][j] + dp[i - 1][j], G[i][j] * G[i][j - 1] + dp[i][j - 1]);
^
0_0_15594922_6412\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_15594922_6412\Main.java:30: 错误: 需要class, interface或enum
else if (i == 1) dp[i][j] = dp[i][j - 1];
^
0_0_15594922_6412\Main.java:31: 错误: 需要class, interface或enum
else dp[i][j] = min(dp[i - 1][j], dp[i][j - 1]);
^
0_0_15594922_6412\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_15594922_6412\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_15594922_6412\Main.java:38: 错误: 需要class, interface或enum
}
^
29 个错误
|