d559. 班號
Tags : 字串
Accepted rate: 7447人/ 7860人 ( 95%) [非即時]
評分方式:
Tolerant

最近更新 : 2018-05-13 09:29

Content

在北市師大附中,每個班都有一個屬於自己的班號,例如188班、1100班…
而利用C語言的printf函式便能將整數變數輸出到螢幕上,
現在請你實作這個基本輸出。

Input

測資中有多行整數n(1<=n<=1261)

Output

請對應每個n輸出一行:
'C' can use printf("%d",n); to show integer like XXXX
(請參考範例輸出)

Sample Input #1
1252
1000
Sample Output #1
'C' can use printf("%d",n); to show integer like 1252
'C' can use printf("%d",n); to show integer like 1000
測資資訊:
記憶體限制: 512 MB
公開 測資點#0 (100%): 1.0s , <1K
Hint :

班號對你太簡單了嗎?這題相信你能輕鬆AC:

http://zerojudge.tw/ShowProblem?problemid=d564

 

Tags:
字串
出處:
jack1 [管理者: jack1 (我是韜哥我忘了拿通知單) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
45663 1121226@stu. ... (Arthur✨EC) d559
其實這樣就好了
272 2025-03-28 23:36
35102 jf5162287@gm ... (Reach the pinna...) d559
_cpp
726 2023-05-08 23:30
28603 godbottle98@ ... (z3 0) d559
python "%d"
965 2021-12-21 14:03
26665 406490150@gm ... (我是朱朱) d559
1150 2021-08-19 12:50
26662 ck1090758@gl ... (peienwu) d559
輸出引號的方法
1204 2021-08-19 11:53