1 条题解

  • 1
    @ 2025-2-6 1:34:07

    因为能同时整除 3355 的数必然是 1515 的倍数,

    所以有了以下代码:

    #include <bits/stdc++.h>
    using namespace std;
    int n;
    int main() {
    	cin >> n;
    	if (n % 15 == 0) cout << "YES";
    	else cout << "NO";
    	return 0;
    }
    
    • 1

    信息

    ID
    4492
    时间
    1000ms
    内存
    128MiB
    难度
    1
    标签
    (无)
    递交数
    99
    已通过
    78
    上传者