結果
問題 |
No.8093 Please GCD
|
ユーザー |
👑 |
提出日時 | 2022-07-26 18:24:43 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 777 ms |
コンパイル使用メモリ | 66,448 KB |
最終ジャッジ日時 | 2025-01-30 14:17:51 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 19 |
ソースコード
#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; }