結果

問題 No.2775 Nuisance Balls
ユーザー sawfish
提出日時 2024-08-11 11:48:58
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 233 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-08-11 11:49:00
合計ジャッジ時間 2,356 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 3
other RE * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

cd = (
    ('C', 720),
    ('M', 360),
    ('S', 180),
    ('R', 30),
    ('o', 6),
    ('.', 1),
)

for i in range(len(cd)):
    if N % cd[1]:
        print(cd[0] * (N // cd[1]), end='')
        N %= cd[1]

print()
0