結果
問題 |
No.784 「,(カンマ)」
|
ユーザー |
|
提出日時 | 2024-04-25 10:31:36 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 204 bytes |
コンパイル時間 | 334 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-11-07 21:09:15 |
合計ジャッジ時間 | 1,398 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 1 WA * 9 |
ソースコード
n = input() l = len(n) judge = [False, False, True] jl = 0 ans = [] a = "" for i in range(l): if jl % 3 == 2: ans.append("," + n[l-i-1]) else: ans.append(n[l-i-1]) for i in ans: a += i print(a)