結果

問題 No.2775 Nuisance Balls
ユーザー koukikawagoe
提出日時 2024-06-07 22:07:56
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 473 bytes
コンパイル時間 215 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 51,968 KB
最終ジャッジ日時 2024-12-26 08:12:35
合計ジャッジ時間 2,551 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

t = 0
while (t == 0):
    if N - 720 >= 0:
        print('C',end="")
        N = N-720
    elif N - 360 >= 0:
        print('M',end="")
        N = N-360
    elif N - 180 >= 0:
        print('S',end="")
        N = N-180
    elif N - 30 >= 0:
        print('R',end="")
        N = N-30
    elif N - 6 >= 0:
        print('o',end="")
        N = N-6
    else:
        while(N > 0):
            print('.',end="")
            N = N -1
        t = 1
print("")
0