結果
| 問題 |
No.3011 あ、俺こいつの役やりたい!
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-01-25 13:28:07 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 469 bytes |
| コンパイル時間 | 2,879 ms |
| コンパイル使用メモリ | 273,488 KB |
| 実行使用メモリ | 41,632 KB |
| 最終ジャッジ日時 | 2025-01-25 22:50:21 |
| 合計ジャッジ時間 | 140,360 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 44 |
ソースコード
#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;
}