#19236: 10929


shuo19971203 (shuo)


1.

11的倍數如何判斷?

o=奇位相加、e=偶位相加

o-e % 11 == 0 則是11的倍數

2.

位數太長?

用string讀取

使用ascii code

ascii(0) = 48

ascii(9) = 57 

int('9'-'0') = 9

就可以算出o和e