結果
| 問題 | No.8093 Please GCD |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-26 18:24:20 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 236 bytes |
| 記録 | |
| コンパイル時間 | 373 ms |
| コンパイル使用メモリ | 78,952 KB |
| 実行使用メモリ | 30,260 KB |
| 平均クエリ数 | 8099.53 |
| 最終ジャッジ日時 | 2026-06-26 19:51:06 |
| 合計ジャッジ時間 | 9,079 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 30 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int n;cin>>n;
int ret = 0;
for(int i = 1; n >= i; i++){
cout << "? " << i << endl;
int x;cin>>x;
ret = max(x,ret);
}
cout << ret << endl;
}