結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| コンテスト | |
| ユーザー |
yamasaKit_
|
| 提出日時 | 2025-01-25 15:33:51 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 76 ms / 2,000 ms |
| コード長 | 615 bytes |
| コンパイル時間 | 419 ms |
| コンパイル使用メモリ | 12,160 KB |
| 実行使用メモリ | 30,880 KB |
| 平均クエリ数 | 12.45 |
| 最終ジャッジ日時 | 2025-01-25 23:46:46 |
| 合計ジャッジ時間 | 5,826 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge12 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 44 |
ソースコード
from collections import *
from itertools import *
from functools import cache, partial
from pprint import pprint
import sys
from typing import Any, Final
try:
from icecream import ic
except ImportError: # Graceful fallback if IceCream isn't installed.
ic = lambda *a: None if not a else (a[0] if len(a) == 1 else a) # noqa
debug = partial(print, file=sys.stderr)
dpprint = partial(pprint, stream=sys.stderr)
sys.setrecursionlimit(10**6)
MOD = 998244353
x = 10**9
M = 30
while M > 0:
print(x)
r = int(input())
if r == 1:
exit()
elif r == -1:
exit()
x //= 2
M -= 1
yamasaKit_