結果
| 問題 | No.3011 あ、俺こいつの役やりたい! |
| コンテスト | |
| ユーザー |
dice360
|
| 提出日時 | 2025-01-25 13:36:17 |
| 言語 | C++17(gcc12) (gcc 12.4.0 + boost 1.89.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 335 bytes |
| 記録 | |
| コンパイル時間 | 1,981 ms |
| コンパイル使用メモリ | 199,224 KB |
| 実行使用メモリ | 57,832 KB |
| 最終ジャッジ日時 | 2026-06-23 23:20:03 |
| 合計ジャッジ時間 | 8,549 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 43 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
int N;
cin >> N;
int l = 0, r = 1000000010;
int md;
while (r - l > 1)
{
md = (l + r) / 2;
cout << md << endl;
int tmp;
cin >> tmp;
if (abs(tmp) == 1)
return 0;
else
r = md;
}
}
dice360