Submission #45486154


Source Code Expand

Copy
R = int(input())
G = int(input())
print(2*G-R)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
R = int(input())
G = int(input())
print(2*G-R)

Submission Info

Submission Time
Task A - Rating Goal
User KoyanagiHitoshi
Language Python (CPython 3.11.4)
Score 100
Code Size 47 Byte
Status AC
Exec Time 10 ms
Memory 8580 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 8
Set Name Test Cases
Sample s1.txt, s2.txt
All in1.txt, in2.txt, in3.txt, in4.txt, in5.txt, in6.txt, s1.txt, s2.txt
Case Name Status Exec Time Memory
in1.txt AC 9 ms 8500 KB
in2.txt AC 9 ms 8432 KB
in3.txt AC 10 ms 8488 KB
in4.txt AC 9 ms 8540 KB
in5.txt AC 9 ms 8580 KB
in6.txt AC 9 ms 8532 KB
s1.txt AC 9 ms 8540 KB
s2.txt AC 9 ms 8496 KB


2025-04-05 (Sat)
06:24:59 +00:00