結果
問題 | No.3011 あ、俺こいつの役やりたい! |
ユーザー |
![]() |
提出日時 | 2025-03-12 23:14:32 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 494 bytes |
コンパイル時間 | 3,472 ms |
コンパイル使用メモリ | 279,380 KB |
実行使用メモリ | 25,984 KB |
平均クエリ数 | 11.66 |
最終ジャッジ日時 | 2025-03-12 23:14:41 |
合計ジャッジ時間 | 7,870 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 44 |
ソースコード
#include <bits/stdc++.h> //#include <atcoder/modint> using namespace std; //using namespace atcoder; using ll = long long; //using mint = modint998244353; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); int p=1; vector<int> v; v.push_back(p); for (int i=1; i<30; i++){ p *= 2; v.push_back(p); } for (auto z : views::reverse(v)){ cout << z << endl; cin >> p; if (p == 1) return 0; } return 0; }