题解 | #牛牛的二三七整除#
牛牛的二三七整除
https://www.nowcoder.com/practice/b2cf0b791245436f8f0591ae9f4c664f
#include<stdio.h> int main() { int n; scanf("%d",&n); if(!(n%2)) printf("2 "); if(!(n%3)) printf("3 "); if(!(n%7)) printf("7 "); if((n%2)&&(n%3)&&(n%7)) printf("n"); return 0; }