結果

問題 No.863 計算量
ユーザー URechaRecha
提出日時 2019-08-24 09:35:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 1,000 ms
コード長 147 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-13 15:00:50
合計ジャッジ時間 1,188 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=int(input()),int(input())
dic = {1:abs(B-A*40),2:abs(B-A*(40**2))}
sorted_dic = sorted(dic.items(), key= lambda x:x[1])
print(sorted_dic[0][0])
0