3 solutions

  • 0
    @ 2024-9-22 14:23:40

    #include<stdio.h> int main(){ int a,i; scanf("%d",&a); for(i=3;i<=7;i+=2){ if(a%i==0)printf("%d ",i); } if(a%3!=0&&a%5!=0&&a%7!=0) printf("n"); return 0; }

    Information

    ID
    6742
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    6
    Tags
    (None)
    # Submissions
    282
    Accepted
    86
    Uploaded By