結果
| 問題 | No.3011 あ、俺こいつの役やりたい! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 13:28:07 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 469 bytes |
| 記録 | |
| コンパイル時間 | 2,245 ms |
| コンパイル使用メモリ | 327,856 KB |
| 実行使用メモリ | 57,304 KB |
| 最終ジャッジ日時 | 2026-06-23 23:04:30 |
| 合計ジャッジ時間 | 8,977 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 43 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int x_dir[] = {0, 1, 0, -1};
const int y_dir[] = {-1, 0, 1, 0};
int main()
{
ll n = 10e9;
for (int i=0; i<30; ++i) {
ll x = n/2;
cout << x;
int r;
cin >> r;
switch(r) {
case 0:
n = x;
return 0;
case 1:
case -1:
return 0;
}
}
return 0;
}