結果

問題 No.8093 Please GCD
ユーザー tamatotamato
提出日時 2022-04-01 22:36:53
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 389 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 82,724 KB
実行使用メモリ 79,512 KB
平均クエリ数 21.03
最終ジャッジ日時 2024-11-20 10:33:39
合計ジャッジ時間 7,694 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 998244353


def main():
    import sys
    input = sys.stdin.readline

    N = int(input())
    if N != 1:
        exit()
    for _ in range(600):
        print("?", 1)
        sys.stdout.flush()
        s = int(input())
    print("?", 1)
    sys.stdout.flush()
    s = int(input())
    assert s == -1
    print("!", 1)
    sys.stdout.flush()


if __name__ == '__main__':
    main()
0