結果
問題 |
No.2962 Sum Bomb Bomber
|
ユーザー |
|
提出日時 | 2024-11-16 17:05:38 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 629 bytes |
コンパイル時間 | 998 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 82,272 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-11-16 17:05:54 |
合計ジャッジ時間 | 14,949 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 64 |
ソースコード
N=int(input()) x,y=0,0 l1=-1e9 r1=1e9 while r1-l1>2: m1=(l1*2+r1)//3 m2=(l1+r1*2)//3 print(1,m1,0) r1=int(input()) print(1,m2,0) r2=int(input()) if m1>m2:l2=m1 else:r2=m2 mn1=1e18 for i in range(l1,r1+1): print(1,i,0) r=int(input()) if mn1>r: mn1=r x=i l2=-1e9 r2=1e9 while r2-l2>2: m1=(l2*2+r2)//3 m2=(l2+r2*2)//3 print(1,x,m1) r1=int(input()) print(1,x,m2) r2=int(input()) if m1>m2:l2=m1 else:r2=m2 mn2=1e18 for i in range(l1,r1+1): print(1,x,i) r=int(input()) if mn2>r: mn2=r y=i print(x,y)