0_0_33547396_27936\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_33547396_27936\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_33547396_27936\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_33547396_27936\Main.java:4: 错误: 需要class, interface或enum
const int N = 1005;
^
0_0_33547396_27936\Main.java:5: 错误: 需要class, interface或enum
ll dp[N][N];
^
0_0_33547396_27936\Main.java:6: 错误: 需要class, interface或enum
char path[N][N];
^
0_0_33547396_27936\Main.java:9: 错误: 需要class, interface或enum
void solve(const string & a, const string& b){
^
0_0_33547396_27936\Main.java:11: 错误: 需要class, interface或enum
for(int i = 1;i <= a.length(); ++i){
^
0_0_33547396_27936\Main.java:11: 错误: 需要class, interface或enum
for(int i = 1;i <= a.length(); ++i){
^
0_0_33547396_27936\Main.java:11: 错误: 需要class, interface或enum
for(int i = 1;i <= a.length(); ++i){
^
0_0_33547396_27936\Main.java:12: 错误: 需要class, interface或enum
for(int j = 1;j <= b.length(); ++j){
^
0_0_33547396_27936\Main.java:12: 错误: 需要class, interface或enum
for(int j = 1;j <= b.length(); ++j){
^
0_0_33547396_27936\Main.java:15: 错误: 需要class, interface或enum
}else{
^
0_0_33547396_27936\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_33547396_27936\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_33547396_27936\Main.java:25: 错误: 需要class, interface或enum
for (int i = a.length(), j = b.length(); i > 0 && j > 0; ){
^
0_0_33547396_27936\Main.java:25: 错误: 需要class, interface或enum
for (int i = a.length(), j = b.length(); i > 0 && j > 0; ){
^
0_0_33547396_27936\Main.java:25: 错误: 需要class, interface或enum
for (int i = a.length(), j = b.length(); i > 0 && j > 0; ){
^
0_0_33547396_27936\Main.java:28: 错误: 需要class, interface或enum
}else if( dp[i][j] == dp[i][j-1]){
^
0_0_33547396_27936\Main.java:30: 错误: 需要class, interface或enum
}else if(dp[i][j] == dp[i-1][j]+1){
^
0_0_33547396_27936\Main.java:32: 错误: 需要class, interface或enum
--i;
^
0_0_33547396_27936\Main.java:33: 错误: 需要class, interface或enum
}else{
^
0_0_33547396_27936\Main.java:35: 错误: 需要class, interface或enum
--j;
^
0_0_33547396_27936\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_33547396_27936\Main.java:39: 错误: 需要class, interface或enum
cout << ans << endl;
^
0_0_33547396_27936\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_33547396_27936\Main.java:44: 错误: 需要class, interface或enum
while(!cin.eof()){
^
0_0_33547396_27936\Main.java:46: 错误: 需要class, interface或enum
solve(a, b);
^
0_0_33547396_27936\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_33547396_27936\Main.java:50: 错误: 需要class, interface或enum
}
^
30 个错误
|