提出 #1889685


ソースコード 拡げる

import math

r = input()
g = input()

b = float(g)*2.0-float(r)
print(math.ceil(b))

提出情報

提出日時
問題 A - Rating Goal
ユーザ w_takashiro
言語 Python (3.4.3)
得点 100
コード長 89 Byte
結果 AC
実行時間 17 ms
メモリ 2940 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 8
セット名 テストケース
Sample s1.txt, s2.txt
All in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, in6.txt, s1.txt, s2.txt
ケース名 結果 実行時間 メモリ
in1.txt AC 17 ms 2940 KiB
in2.txt AC 17 ms 2940 KiB
in3.txt AC 17 ms 2940 KiB
in4.txt AC 17 ms 2940 KiB
in5.txt AC 17 ms 2940 KiB
in6.txt AC 17 ms 2940 KiB
s1.txt AC 17 ms 2940 KiB
s2.txt AC 17 ms 2940 KiB