2021年广东工业大学第十五届文远知行杯程序设计竞赛赛后总结

C.涂鸦

AC代码:

#include <bits/stdc++.h>
using namespace std;

int t, n;


int main(){
    
    
	cin >> t;
	while(t--){
    
    
		cin >> n;
		if(n < 5 || n == 6 || n == 7 || n == 9 || n == 10 || n == 12 || n == 15 || n == 18 || n == 33) cout << "NO" << endl;
		else cout << "YES" << endl;
	}
	return 0;
}

猜你喜欢

转载自blog.csdn.net/LXC_007/article/details/115309958