15 条题解
- 1
信息
- ID
- 92
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 3
- 标签
- (无)
- 递交数
- 595
- 已通过
- 321
- 上传者
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
cin>>a;
if(a%3==0 and a%5==0)cout<<"YES";
else{
cout<<"NO";
}
return 0;
}
#include <bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if (a%15==0){ cout<<"YES"; } if (a%15!=0){ cout<<"NO"; } return 0; }
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
if(n%3==0 and n%5==0)cout<<"YES";
else{
cout<<"NO";
}
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
if(n%3==0 and n%5==0)cout<<"YES";
else{
cout<<"NO";
}
return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main(){
int a;
cin>>a;
if(a%3==0 and a%5==0)
cout<<"YES";
else
cout<<"NO";
return 0;
}
#include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50) cout<<"YES"; else cout<<"NO"; return 0; }
#include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50) cout<<"YES"; else cout<<"NO"; return 0; }
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
cin>>a;
if(a%3==0 and a%5==0)cout<<"YES";
else{
cout<<"NO";
}
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int a;
cin>>a;
if(a%15==0)
{
cout<<"YES";
}
else{
cout<<"NO";
}
return 0;
}
#include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50) cout<<"YES"; else cout<<"NO"; return 0; }
#include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50) cout<<"YES"; else cout<<"NO"; return 0; }
#include <bits/stdc++.h>
using namespace std;
int main(){
int a;
cin>>a;
if(a%3==0 and a%5==0)
cout<<"YES";
else
cout<<"NO";
return 0;
}
#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a%30 and a%50){ cout<<"YES"; } else{ cout<<"NO"; } return 0; }