a001. 哈囉
Tags : 基本顯示
Accepted rate: 31人/ 49人 ( 63%) [非即時]
評分方式:
Tolerant

最近更新 : 2025-11-13 15:02

Content

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

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
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (25%): 1.0s , <1K
公開 測資點#1 (25%): 1.0s , <1K
公開 測資點#2 (25%): 1.0s , <1K
公開 測資點#3 (25%): 1.0s , <1K
Hint :

程式說明:讀取測試資料,請參考 範例程式碼

Tags:
基本顯示
出處:
Brian Kernighan [管理者: zero (管理員22) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
6 411243@stu.n ... (高中411243陳宗鈿) a001
py通俗解
40 2025-11-04 13:22