結果
問題 |
No.784 「,(カンマ)」
|
ユーザー |
|
提出日時 | 2022-06-25 16:53:07 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 2,000 ms |
コード長 | 190 bytes |
コンパイル時間 | 1,016 ms |
コンパイル使用メモリ | 82,828 KB |
実行使用メモリ | 53,680 KB |
最終ジャッジ日時 | 2024-11-14 15:57:07 |
合計ジャッジ時間 | 1,290 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
n = input() nr = n[::-1] ans = "" for i in range(len(nr)): ans += ans.join(nr[i]) #print(ans,i) if i != len(nr)-1 and i % 3 == 2: ans += ans.join(",") print(ans[::-1])