a001. 哈囉
Tags : 基本輸出輸入
Accepted rate : 96943人/106010人 ( 91% ) [非即時]
評分方式:
Tolerant

最近更新 : 2020-01-02 11:12

Content

學習所有程式語言的第一個練習題 
請寫一個程式,可以讀入指定的字串,並且輸出指定的字串。

比如:輸入字串 "world", 則請輸出 "hello, world"

Input

輸入總共一行,內含一組文字

Output

輸出題目指定的文字。

Sample Input #1
world
Sample Output #1
hello, world
Sample Input #2
C++
Sample Output #2
hello, C++
Sample Input #3
Taiwan
Sample Output #3
hello, Taiwan
測資資訊:
記憶體限制: 512 MB
公開 測資點#0 (33%): 1.0s , <1K
公開 測資點#1 (33%): 1.0s , <1K
公開 測資點#2 (34%): 1.0s , <1K
Hint :
Tags:
基本輸出輸入
出處:
Brian Kernighan

Status Forum 排行

ID User Problem Subject Hit Post Date
38549 yuntongliang ... (105 23梁允同) a001
25 2023-12-05 20:53
36236 jiachojon@gm ... (嘉) a001
python解法
4247 2023-07-11 19:17
38177 tony20070530 ... (梁允同) a001
775 2023-10-31 21:20
37722 a055488@stdm ... (白魂) a001
Python解法
612 2023-10-02 14:20
37629 yp11251018 (707-37傅冠勝) a001
cout的字與值
629 2023-09-21 17:50