結果

問題 No.2775 Nuisance Balls
ユーザー hato336
提出日時 2024-06-07 21:25:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 340 bytes
コンパイル時間 368 ms
コンパイル使用メモリ 82,052 KB
実行使用メモリ 85,888 KB
最終ジャッジ日時 2024-12-26 06:55:33
合計ジャッジ時間 4,658 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
#input = sys.stdin.readline

#
#alist = []
n = int(input())
x = [720,360,180,30,6,1]
y = 'CMSRo.'
for i in range(6):
    while n >= x[i]:
        print(y[i],end='')
        n -= x[i]
0