Re: [中學] 考私中一題數學

看板Math作者 (施抄)時間13年前 (2012/11/10 23:58), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串2/5 (看更多)
#include <stdio.h> int main(){ int i, num=0; for(i=10; i<=100; i++) if(i%3==1 && i%4==3) num++; printf("%d\n", num); return 0; } ※ 引述《peterbaby (走吧~)》之銘言: : 從10~100的數字內,被3除會餘1且被4除會餘3的數,共有幾個? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.46

11/11 00:04, , 1F
列舉法
11/11 00:04, 1F
文章代碼(AID): #1GddckBx (Math)
文章代碼(AID): #1GddckBx (Math)