結果
問題 |
No.3011 あ、俺こいつの役やりたい!
|
ユーザー |
|
提出日時 | 2025-01-25 13:29:43 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 474 bytes |
コンパイル時間 | 3,220 ms |
コンパイル使用メモリ | 272,684 KB |
実行使用メモリ | 26,248 KB |
平均クエリ数 | 30.00 |
最終ジャッジ日時 | 2025-01-25 22:48:47 |
合計ジャッジ時間 | 10,902 ms |
ジャッジサーバーID (参考情報) |
judge7 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 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 << endl; int r; cin >> r; switch(r) { case 0: n = x; break; case 1: case -1: return 0; } } return 0; }