- #include <stdio.h>
- int main(int argc, const char * argv[]) {
- int chu ,beiChu,yu,shang;
- for(chu = 11;;chu++){ //因为余数是10 所以除数最小是 11
- beiChu = chu * 3 + 10;
- if (163 == (chu + beiChu +3 + 10))
- break;
- }
- printf("被除数是%d\n除数是%d\n",beiChu,chu);
- return 0;
- }
复制代码 |