結果

問題 No.784 「,(カンマ)」
コンテスト
ユーザー yuma1100
提出日時 2019-02-09 22:58:27
言語 Python3
(3.14.3 + numpy 2.4.2 + scipy 1.17.0)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
WA  
実行時間 -
コード長 218 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 349 ms
コンパイル使用メモリ 20,700 KB
実行使用メモリ 15,360 KB
最終ジャッジ日時 2026-03-22 21:12:09
合計ジャッジ時間 2,140 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 3 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

data_test = input()
count_t = 0;
out_t = ''
new_str = data_test[::-1]
for num in new_str:
    count_t += 1;
    out_t += num
    if(count_t%3 == 0 and num != data_test[-1]):
      out_t += ','
      
print(out_t[::-1])
0