a001. 哈囉
Tags : 基本輸出輸入
Accepted rate : 88047人/96371人 ( 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


ID User Problem Subject Hit Post Date
34535 yp11151246@y...(702-44) a001
基礎解法
7 2023-03-28 13:07
34467 CodingPrep(演算法/資料結構教學) a001
C++ 答案
166 2023-03-21 18:05
34463 CodingPrep(演算法/資料結構教學) a001
C++ 答案
50 2023-03-21 18:03
34441 yp11151144@y...(709-35陳中仁) a001
03
119 2023-03-20 14:29
34440 yp11151144@y...(709-35陳中仁) a001
02
56 2023-03-20 14:28