蒟蒻0分求调
查看原帖
蒟蒻0分求调
1559399
guofubinhuan楼主2024/12/29 08:51

自测没问题,但全是WA

蒟蒻代码:

#include<bits/stdc++.h>
using namespace std;
int x;
int main(){
	cin>>x;
	if(x%3==0){
		if(x%5==0){
			cout<<"Yes";
		}
		else{
			cout<<"No";
		}
	}
	else{
		cout<<"No";
	}
	return 0;
}

求调

2024/12/29 08:51
加载中...