d235. 10929 - You can say 11
Tags :
Accepted rate : 4204人/4928人 ( 85% ) [非即時]
評分方式:
Strictly

最近更新 : 2015-08-28 14:41

Content

你的任務是,給你一個正整數 N,判定它是否是 11 的倍數。

Input

每列資料有一個正整數N,N 最大可能到 1000 位數。

若 N = 0 代表輸入結束

Output

對每個輸入的數,輸出是否為 11 的倍數。輸出格式請參考 Sample Output。

Sample Input #1
112233
30800
2937
323455693
5038297
112234
0
Sample Output #1
112233 is a multiple of 11.
30800 is a multiple of 11.
2937 is a multiple of 11.
323455693 is a multiple of 11.
5038297 is a multiple of 11.
112234 is not a multiple of 11.
測資資訊:
記憶體限制: 512 MB
公開 測資點#0 (100%): 1.0s , <1M
Hint :
Tags:
出處:
UVa10929 [管理者: pcsh710742(ms0472904) ]


ID User Problem Subject Hit Post Date
34443 wrr606@gmail...(Not Exist) d235
python主場
15 2023-03-20 23:30
34388 kk98033(日落王國的憂鬱剪影) d235
Python一行解
79 2023-03-16 12:41
29392 ak478005(掠奪者) d235
944 2022-02-24 15:59
19236 shuo19971203(shuo) d235
10929
2689 2019-09-18 20:41
17130 addii(白家宇) d235
3809 2019-03-13 20:02