結果

問題 No.538 N.G.S.
ユーザー kohei2019kohei2019
提出日時 2022-02-07 22:03:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 1,726 ms
コンパイル使用メモリ 86,636 KB
実行使用メモリ 71,488 KB
最終ジャッジ日時 2023-09-04 12:00:53
合計ジャッジ時間 8,331 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,952 KB
testcase_01 AC 73 ms
71,088 KB
testcase_02 AC 72 ms
70,924 KB
testcase_03 AC 75 ms
71,096 KB
testcase_04 AC 73 ms
71,228 KB
testcase_05 AC 70 ms
71,324 KB
testcase_06 AC 71 ms
71,096 KB
testcase_07 AC 72 ms
70,936 KB
testcase_08 AC 72 ms
71,204 KB
testcase_09 AC 74 ms
71,332 KB
testcase_10 AC 73 ms
71,192 KB
testcase_11 AC 75 ms
71,100 KB
testcase_12 AC 75 ms
71,192 KB
testcase_13 AC 72 ms
71,188 KB
testcase_14 AC 72 ms
71,308 KB
testcase_15 AC 75 ms
71,364 KB
testcase_16 AC 71 ms
71,408 KB
testcase_17 AC 73 ms
71,204 KB
testcase_18 AC 74 ms
71,484 KB
testcase_19 AC 76 ms
70,924 KB
testcase_20 AC 74 ms
71,420 KB
testcase_21 AC 73 ms
70,920 KB
testcase_22 AC 73 ms
70,920 KB
testcase_23 AC 75 ms
71,372 KB
testcase_24 AC 75 ms
71,184 KB
testcase_25 AC 72 ms
70,924 KB
testcase_26 AC 73 ms
71,108 KB
testcase_27 AC 73 ms
71,188 KB
testcase_28 AC 73 ms
71,104 KB
testcase_29 AC 73 ms
70,924 KB
testcase_30 AC 76 ms
71,152 KB
testcase_31 AC 74 ms
71,096 KB
testcase_32 AC 74 ms
71,092 KB
testcase_33 AC 74 ms
71,404 KB
testcase_34 AC 75 ms
71,348 KB
testcase_35 AC 74 ms
71,100 KB
testcase_36 AC 74 ms
71,392 KB
testcase_37 AC 77 ms
71,396 KB
testcase_38 AC 74 ms
71,376 KB
testcase_39 AC 73 ms
71,104 KB
testcase_40 AC 72 ms
71,192 KB
testcase_41 AC 74 ms
71,096 KB
testcase_42 AC 73 ms
71,488 KB
testcase_43 AC 79 ms
71,212 KB
testcase_44 AC 75 ms
71,312 KB
testcase_45 AC 73 ms
71,100 KB
testcase_46 AC 72 ms
71,312 KB
testcase_47 AC 73 ms
71,312 KB
testcase_48 AC 75 ms
71,300 KB
testcase_49 AC 74 ms
71,160 KB
testcase_50 AC 72 ms
71,472 KB
testcase_51 AC 74 ms
71,060 KB
testcase_52 AC 82 ms
71,100 KB
testcase_53 AC 77 ms
71,104 KB
testcase_54 AC 71 ms
71,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c = map(int,input().split())
r = (c-b)/(b-a)
ans = c + r*(c-b)
print(int(float('{:0f}'.format(ans))))
0