0_0_26323801_11069\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_26323801_11069\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_26323801_11069\Main.java:3: 错误: 需要class, interface或enum
const int maxn=1e5+5;
^
0_0_26323801_11069\Main.java:5: 错误: 需要class, interface或enum
string sub(string a,string b) {
^
0_0_26323801_11069\Main.java:6: 错误: 需要class, interface或enum
for(int j=0,i=a.length()-b.length();j<b.length();i++,j++) {
^
0_0_26323801_11069\Main.java:6: 错误: 需要class, interface或enum
for(int j=0,i=a.length()-b.length();j<b.length();i++,j++) {
^
0_0_26323801_11069\Main.java:8: 错误: 需要class, interface或enum
else {
^
0_0_26323801_11069\Main.java:10: 错误: 需要class, interface或enum
while(a[k]=='0') k--;
^
0_0_26323801_11069\Main.java:11: 错误: 需要class, interface或enum
a[k]--;
^
0_0_26323801_11069\Main.java:12: 错误: 需要class, interface或enum
for(k++;k<i;k++) a[k]='9';
^
0_0_26323801_11069\Main.java:12: 错误: 需要class, interface或enum
for(k++;k<i;k++) a[k]='9';
^
0_0_26323801_11069\Main.java:12: 错误: 需要class, interface或enum
for(k++;k<i;k++) a[k]='9';
^
0_0_26323801_11069\Main.java:13: 错误: 需要class, interface或enum
int now=a[i]-'0'+10-b[j]+'0';
^
0_0_26323801_11069\Main.java:14: 错误: 需要class, interface或enum
a[i]=(char)(now);
^
0_0_26323801_11069\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_26323801_11069\Main.java:18: 错误: 需要class, interface或enum
while(a.back()=='0'&&a.size()) a.erase(a.end()-1);
^
0_0_26323801_11069\Main.java:19: 错误: 需要class, interface或enum
reverse(a.begin(),a.end());
^
0_0_26323801_11069\Main.java:20: 错误: 需要class, interface或enum
return a;
^
0_0_26323801_11069\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_26323801_11069\Main.java:25: 错误: 需要class, interface或enum
int T,kase=1;cin>>T;
^
0_0_26323801_11069\Main.java:26: 错误: 需要class, interface或enum
while(T--) {
^
0_0_26323801_11069\Main.java:28: 错误: 需要class, interface或enum
string s;cin>>s;
^
0_0_26323801_11069\Main.java:28: 错误: 需要class, interface或enum
string s;cin>>s;
^
0_0_26323801_11069\Main.java:29: 错误: 需要class, interface或enum
vector<string>ans;
^
0_0_26323801_11069\Main.java:30: 错误: 需要class, interface或enum
while(s.length()) {
^
0_0_26323801_11069\Main.java:32: 错误: 需要class, interface或enum
if(len==1&&s[0]=='0') break;
^
0_0_26323801_11069\Main.java:33: 错误: 需要class, interface或enum
string now="";
^
0_0_26323801_11069\Main.java:34: 错误: 需要class, interface或enum
int flag=0;
^
0_0_26323801_11069\Main.java:35: 错误: 需要class, interface或enum
if(s[0]=='1') {
^
0_0_26323801_11069\Main.java:36: 错误: 需要class, interface或enum
for(int i=1;i<s.length();i++) {
^
0_0_26323801_11069\Main.java:36: 错误: 需要class, interface或enum
for(int i=1;i<s.length();i++) {
^
0_0_26323801_11069\Main.java:37: 错误: 需要class, interface或enum
if(s[i]!='0') {flag=1;break;}
^
0_0_26323801_11069\Main.java:37: 错误: 需要class, interface或enum
if(s[i]!='0') {flag=1;break;}
^
0_0_26323801_11069\Main.java:41: 错误: 需要class, interface或enum
string now="";
^
0_0_26323801_11069\Main.java:42: 错误: 需要class, interface或enum
for(int i=0;i<s.length()-1;i++) {
^
0_0_26323801_11069\Main.java:42: 错误: 需要class, interface或enum
for(int i=0;i<s.length()-1;i++) {
^
0_0_26323801_11069\Main.java:42: 错误: 需要class, interface或enum
for(int i=0;i<s.length()-1;i++) {
^
0_0_26323801_11069\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_26323801_11069\Main.java:46: 错误: 需要class, interface或enum
break;
^
0_0_26323801_11069\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_26323801_11069\Main.java:49: 错误: 需要class, interface或enum
for(int i=0;i<len/2;i++){
^
0_0_26323801_11069\Main.java:49: 错误: 需要class, interface或enum
for(int i=0;i<len/2;i++){
^
0_0_26323801_11069\Main.java:51: 错误: 需要class, interface或enum
else now+=s[len-i-1];
^
0_0_26323801_11069\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_26323801_11069\Main.java:54: 错误: 需要class, interface或enum
if(len%2==1) tans+=s[len/2];
^
0_0_26323801_11069\Main.java:55: 错误: 需要class, interface或enum
reverse(now.begin(),now.end());
^
0_0_26323801_11069\Main.java:56: 错误: 需要class, interface或enum
tans+=now;
^
0_0_26323801_11069\Main.java:57: 错误: 需要class, interface或enum
ans.push_back(tans);
^
0_0_26323801_11069\Main.java:58: 错误: 需要class, interface或enum
s=sub(s,tans);
^
0_0_26323801_11069\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_26323801_11069\Main.java:61: 错误: 需要class, interface或enum
for(auto it :ans) cout<<it<<"\n";
^
0_0_26323801_11069\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_26323801_11069\Main.java:64: 错误: 需要class, interface或enum
}
^
53 个错误
|