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