0_0_31908092_18284\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_31908092_18284\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_31908092_18284\Main.java:2: 错误: 非法字符: '#'
#include<string>
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
0_0_31908092_18284\Main.java:3: 错误: 需要class, interface或enum
using namespace std;int main(){ int n,a,b; cin>>n; while(n--) { int sum1=0,sum2=0; cin>>a>>b; for(int i=1;i<=a/2;++i) { if(a%i==0) sum1+=i; } for(int i=1;i<=b/2;++i) { if(b%i==0) sum2+=i; } if(sum1==b&&sum2==a) cout<<"YES"<<endl; else cout<<"NO"<<endl; } return 0;}
^
17 个错误
|