結果
問題 |
No.784 「,(カンマ)」
|
ユーザー |
|
提出日時 | 2020-08-28 18:48:13 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 137 bytes |
コンパイル時間 | 679 ms |
コンパイル使用メモリ | 82,252 KB |
実行使用メモリ | 53,564 KB |
最終ジャッジ日時 | 2024-11-13 23:35:28 |
合計ジャッジ時間 | 1,767 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
i = 0 S = input() for i in range((len(S) - 1) % 3 + 1, len(S), 3): print(S[max(i - 3, 0):i], end=',') print(S[i:])