b970. 我不說髒話 (續)
Tags :
Accepted rate : 5505人/5663人 ( 97% ) [非即時]
評分方式:
Tolerant

最近更新 : 2019-04-11 21:41

Content

文文上次說髒話被老師罰在黑板上寫 50 遍「I don't say swear words!」,結果他只寫了 45 遍就跑出去玩了,以為老師不會發現。這次老師要求他罰寫的每一遍都要加上編號。

Input

輸入只有一行,其中含有一個正整數 n,代表文文被罰寫的次數。

Output

輸出 n 行「I don't say swear words!」,每行前面要有流水編號。請參考範例輸出。

Sample Input #1
10
Sample Output #1
1. I don't say swear words!
2. I don't say swear words!
3. I don't say swear words!
4. I don't say swear words!
5. I don't say swear words!
6. I don't say swear words!
7. I don't say swear words!
8. I don't say swear words!
9. I don't say swear words!
10. I don't say swear words!
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (10%): 1.0s , <1K
公開 測資點#1 (10%): 1.0s , <1K
公開 測資點#2 (10%): 1.0s , <1K
公開 測資點#3 (10%): 1.0s , <1K
公開 測資點#4 (10%): 1.0s , <1K
公開 測資點#5 (10%): 1.0s , <1K
公開 測資點#6 (10%): 1.0s , <1K
公開 測資點#7 (10%): 1.0s , <1K
公開 測資點#8 (10%): 1.0s , <1K
公開 測資點#9 (10%): 1.0s , <1K
Hint :
Tags:
出處:
板橋高中教學題 [管理者: snail (蝸牛) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
34978 jf5162287@gm ... (Reach the pinna...) b970
cpp
340 2023-05-01 01:24
26452 nancy10133@g ... (Nancy Chang) b970
利用迴圈和列印
824 2021-08-07 16:19
22160 jayw711kb@gm ... (Jay Huang) b970
基礎題
1521 2020-08-13 16:32