1 해설

  • 0
    @ 2026-10-25 11:01:36

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

    int main(){ int a , b , c , d; cin >> a; b = 1; d = 0; if ( a >= 2 ){ while ( b <= a ){ c = a / b; if ( a - b * c == 0 ){ d++; } b++; c = 0;} if ( d >= 3 ){ cout << "No"; }else{ cout << "Yes"; } } return 0; }

    • 1

    정보

    ID
    108
    시간
    1000ms
    메모리
    256MiB
    난이도
    6
    태그
    제출 기록
    316
    맞았습니다.
    91
    아이디