結果

問題 No.2357 Guess the Function
ユーザー shogo314shogo314
提出日時 2023-06-23 23:33:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 97 ms / 1,000 ms
コード長 125 bytes
コンパイル時間 629 ms
コンパイル使用メモリ 86,956 KB
実行使用メモリ 87,620 KB
平均クエリ数 2.91
最終ジャッジ日時 2023-09-13 18:42:21
合計ジャッジ時間 2,782 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 97 ms
87,012 KB
testcase_01 AC 93 ms
87,264 KB
testcase_02 AC 94 ms
87,384 KB
testcase_03 AC 90 ms
87,620 KB
testcase_04 AC 95 ms
87,040 KB
testcase_05 AC 97 ms
87,368 KB
testcase_06 AC 94 ms
87,052 KB
testcase_07 AC 94 ms
87,020 KB
testcase_08 AC 93 ms
87,416 KB
testcase_09 AC 93 ms
87,532 KB
testcase_10 AC 91 ms
87,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=int(input('? 100\n'))
if a==99:print('! 99 100\n')
else:b=int(input('? '+str(99-a)+'\n'))+1;print('!',(a+b-100%b)%b,b,'\n')
0