c659. 連接詞
Tags :
Accepted rate: 2043人/ 2133人 ( 96%) [非即時]
評分方式:
Tolerant

最近更新 : 2019-04-16 17:28

Content

請用指定的連接詞連接所有的單字。

Input

輸入只有一行,第一個字為連接詞,第二個以後為單字。連接詞與單字之間均以空白隔開。連接詞與單字包含字母及/或符號,但不含空白。

Output

輸出一行,含有所有的單字,單字與單字間均有一個連接詞。

Sample Input #1
and apple banana cantaloupe
Sample Output #1
apple and banana and cantaloupe
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (25%): 1.0s , <1K
公開 測資點#1 (25%): 1.0s , <1K
公開 測資點#2 (25%): 1.0s , <1K
公開 測資點#3 (25%): 1.0s , <1K
Hint :
Tags:
出處:
板橋高中 python 教學題 [管理者: snail (蝸牛) ]

Status Forum 排行

ID User Problem Subject Hit Post Date
45211 s1306222@tai ... (火焰小新) c659
python解
457 2025-01-26 00:26
41156 xsw20080329@ ... (敢不敢讓我過) c659
___c
369 2024-07-08 11:30
37868 s110385@stud ... (Kai.) c659
827 2023-10-15 01:07
36767 yp11151165@y ... (910-35 陳奕嘉) c659
c++解法
754 2023-08-07 21:26
33129 alex950301 (alex0301) c659
stringstream(C++)
776 2022-12-03 12:31