b971. 等差數列
Tags :
Accepted rate : 3224人/3497人 ( 92% ) [非即時]
評分方式:
Tolerant

最近更新 : 2019-04-12 08:41

Content

給你一個等差數列的首項、末項和公差,請輸出這個等差數列。

Input

輸入只有一行,包含首項、末項和公差等三個整數。

Output

輸出等差數列,每兩項之間以空白隔開。

Sample Input #1
1 9 2
Sample Output #1
1 3 5 7 9
測資資訊:
記憶體限制: 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(蝸牛) ]


ID User Problem Subject Hit Post Date
33252 yp11151109@y...(702-30孫兆威) b971
#b971 #Reminding_You
182 2022-12-16 13:28
33143 racham.chen@...(Dan Chen) b971
209 2022-12-04 22:02
32739 yp11151049@y...(701-24李文睿) b971
ans
297 2022-11-02 17:33
31963 jasontw77661...(Jason Chang) b971
cpp ans
509 2022-09-02 18:14
31365 oh_my_god(often) b971
題解
323 2022-07-26 20:41