結果

問題 No.3093 Please GCD
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2022-04-01 22:35:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 205 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 82,588 KB
実行使用メモリ 93,352 KB
平均クエリ数 8099.53
最終ジャッジ日時 2024-04-30 14:51:03
合計ジャッジ時間 14,667 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
68,648 KB
testcase_01 AC 54 ms
69,420 KB
testcase_02 AC 98 ms
78,868 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 401 ms
92,472 KB
testcase_09 AC 406 ms
92,540 KB
testcase_10 AC 51 ms
69,816 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 399 ms
92,592 KB
testcase_15 AC 97 ms
76,588 KB
testcase_16 AC 393 ms
92,624 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 400 ms
92,816 KB
testcase_20 WA -
testcase_21 AC 408 ms
92,836 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 396 ms
93,352 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 AC 427 ms
92,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from sys import stdin

N = int(stdin.readline())

ans = -1

for loop in range(1,N+1):

    print ("? " + str(loop) , flush=True )

    ans = max( ans , int(stdin.readline()) )

print ("!",ans)
0