結果
問題 |
No.3011 あ、俺こいつの役やりたい!
|
ユーザー |
![]() |
提出日時 | 2025-09-06 12:34:54 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 82 ms / 2,000 ms |
コード長 | 846 bytes |
コンパイル時間 | 404 ms |
コンパイル使用メモリ | 82,552 KB |
実行使用メモリ | 72,184 KB |
平均クエリ数 | 12.45 |
最終ジャッジ日時 | 2025-09-06 12:35:24 |
合計ジャッジ時間 | 6,475 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 44 |
ソースコード
from heapq import heappop, heappush, heapify from bisect import bisect from collections import deque, defaultdict from math import floor, ceil, isqrt, comb from sys import stdin, setrecursionlimit intin = lambda: int(stdin.readline()) strin = lambda: stdin.readline().rstrip() listin = lambda: list(map(int, stdin.readline().split())) tuplein = lambda m: [tuple(map(lambda x: int(x) if x.isdigit() or (len(x) > 1 and x[0] == "-" and x[1:].isdigit()) else x, stdin.readline().split())) for _ in range(m)] gridin = lambda m: [list(map(int, stdin.readline().split())) for _ in range(m)] strgridin = lambda h: [stdin.readline().rstrip() for _ in range(h)] mapin = lambda: map(int, stdin.readline().split()) tmp = 10**9 while True: print(tmp, flush=True) r = intin() if r == 1: exit() elif r == -1: exit() tmp >>= 1