結果
| 問題 | No.784 「,(カンマ)」 |
| コンテスト | |
| ユーザー |
al1ce_nanka189r
|
| 提出日時 | 2019-02-11 12:52:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 483 bytes |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-18 07:55:30 |
| 合計ジャッジ時間 | 910 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
import math import sys from operator import itemgetter input = sys.stdin.readline().rstrip # a = int(input()) # a, b = map(int, input().split()) # D = list(map(int, input().split())) # H = [int(input()) for _ in range(L)] # DD = [[0 for j in range(100)] for i in range(200)] # if __name__ == '__main__': s_in = str(input()) s_out = "" i = 0 while (i < len(s_in)): s_out += s_in[len(s_in) - i - 1] i += 1 if (i % 3 == 0) and (i < len(s_in)): s_out += "," print(s_out[::-1])
al1ce_nanka189r