其实模15就行了
using namespace std; int main() { int a; cin<<a; if(a%15==0){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }
纯属偷懒
使用您的 蒙青创OJ 通用账户