結果

問題 No.538 N.G.S.
ユーザー brthyyjpbrthyyjp
提出日時 2020-08-08 21:19:12
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 143 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 82,592 KB
実行使用メモリ 53,984 KB
最終ジャッジ日時 2024-04-10 05:20:02
合計ジャッジ時間 3,744 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,120 KB
testcase_01 AC 41 ms
52,292 KB
testcase_02 AC 35 ms
52,468 KB
testcase_03 AC 34 ms
52,820 KB
testcase_04 AC 35 ms
53,084 KB
testcase_05 AC 35 ms
52,428 KB
testcase_06 AC 36 ms
52,964 KB
testcase_07 AC 36 ms
51,904 KB
testcase_08 AC 36 ms
53,292 KB
testcase_09 AC 36 ms
52,616 KB
testcase_10 AC 36 ms
51,940 KB
testcase_11 AC 35 ms
52,804 KB
testcase_12 AC 34 ms
53,372 KB
testcase_13 AC 35 ms
51,992 KB
testcase_14 AC 34 ms
53,016 KB
testcase_15 AC 35 ms
52,348 KB
testcase_16 AC 35 ms
52,436 KB
testcase_17 AC 34 ms
53,076 KB
testcase_18 AC 34 ms
52,792 KB
testcase_19 AC 34 ms
51,744 KB
testcase_20 AC 35 ms
52,940 KB
testcase_21 AC 36 ms
53,068 KB
testcase_22 AC 35 ms
52,680 KB
testcase_23 AC 36 ms
52,676 KB
testcase_24 AC 35 ms
53,220 KB
testcase_25 AC 35 ms
52,280 KB
testcase_26 AC 35 ms
52,676 KB
testcase_27 AC 36 ms
51,820 KB
testcase_28 AC 36 ms
52,312 KB
testcase_29 AC 34 ms
53,192 KB
testcase_30 AC 36 ms
53,564 KB
testcase_31 AC 35 ms
52,756 KB
testcase_32 AC 36 ms
52,724 KB
testcase_33 AC 34 ms
52,444 KB
testcase_34 AC 35 ms
53,436 KB
testcase_35 AC 36 ms
52,884 KB
testcase_36 AC 34 ms
52,196 KB
testcase_37 AC 35 ms
53,628 KB
testcase_38 AC 35 ms
52,556 KB
testcase_39 AC 34 ms
51,828 KB
testcase_40 AC 37 ms
52,000 KB
testcase_41 AC 36 ms
52,468 KB
testcase_42 AC 35 ms
53,504 KB
testcase_43 AC 35 ms
51,868 KB
testcase_44 AC 35 ms
52,076 KB
testcase_45 AC 35 ms
51,816 KB
testcase_46 AC 35 ms
52,824 KB
testcase_47 AC 36 ms
52,072 KB
testcase_48 WA -
testcase_49 WA -
testcase_50 WA -
testcase_51 AC 35 ms
53,352 KB
testcase_52 AC 36 ms
53,032 KB
testcase_53 WA -
testcase_54 AC 35 ms
52,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

B = list(map(int, input().split()))

r = (B[1]-B[2])/(B[0]-B[1])
d = B[1]-((B[1]-B[2])/(B[0]-B[1]))*B[0]

b4 = r*B[2]+d
b4 = int(b4)
print(b4)
0