結果

問題 No.784 「,(カンマ)」
ユーザー bellangeldindon
提出日時 2019-04-26 13:24:18
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 347 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-24 05:44:36
合計ジャッジ時間 1,046 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

S = raw_input()
ans = ""
for i in range(0, len(S)):
	if i != 0 and i % 3 == 0:
		ans = "," + ans
	ans = S[-i-1] + ans
print ans
0