結果
| 問題 | No.2775 Nuisance Balls |
| コンテスト | |
| ユーザー |
👑 amentorimaru
|
| 提出日時 | 2024-05-27 20:56:25 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 23 ms / 2,000 ms |
| + 386µs | |
| コード長 | 397 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,136 KB |
| 最終ジャッジ日時 | 2026-10-07 09:47:30 |
| 合計ジャッジ時間 | 2,042 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
import sys
from fractions import Fraction
input = sys.stdin.readline
def read_values(): return tuple(map(int, input().split()))
def read_list(): return list(read_values())
def main():
n=int(input())
s=[(720,'C'),(360,'M'),(180,'S'),(30,'R'),(6,'o'),(1,'.')]
for c,v in s:
while n >= c:
print(v,end='')
n -= c
if __name__ == "__main__":
main()
amentorimaru