結果

問題 No.2775 Nuisance Balls
コンテスト
ユーザー timi
提出日時 2024-06-07 21:30:37
言語 PyPy3
(8.0.0 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 25 ms / 2,000 ms
+ 200µs
コード長 359 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 749 ms
コンパイル使用メモリ 81,204 KB
実行使用メモリ 56,168 KB
最終ジャッジ日時 2026-10-08 05:04:26
合計ジャッジ時間 2,294 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#N,K=map(int, input().split())
#A=list(map(int, input().split()))
ans=[]
N=int(input())

while N>=720:
  ans.append('C')
  N-=720
  
while N>=360:
  ans.append('M')
  N-=360
  
while N>=180:
  ans.append('S')
  N-=180
  
while N>=30:
  ans.append('R')
  N-=30
  
while N>=6:
  ans.append('o')
  N-=6
  
while N>=1:
  ans.append('.')
  N-=1
print(''.join(ans))
0