結果
| 問題 | No.784 「,(カンマ)」 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-05-11 02:24:06 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 2,000 ms |
| コード長 | 120 bytes |
| 記録 | |
| コンパイル時間 | 463 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-03-23 04:58:57 |
| 合計ジャッジ時間 | 2,444 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
S = input()
for i in range(len(S)):
if i != 0 and (len(S) - i) % 3 == 0:
print(',', end='')
print(S[i], end='')