只考虑1角和5角
#include int main(){ int i, j; for(i = 0; i <= 10; i ++) for(j = 0; j <= 2; j ++) { if(i+j*5 == 0) printf("%d %d\n", i, j); }}