s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s351630784 | p03563 | u607075479 | 1598819902 | Python | Python (3.8.2) | py | Runtime Error | 26 | 8984 | 41 | R,G=map(int,input().split())
print(G*2-R) |
s802641812 | p03563 | u077671688 | 1598819139 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9060 | 50 | R, G = map(int, input().split())
print(2 * G - R) |
s843687658 | p03563 | u705418271 | 1598666577 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8940 | 41 | r=int(input())
g=int(input())
print(2g-r) |
s454909519 | p03563 | u496280557 | 1598623601 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9024 | 55 | https://atcoder.jp/contests/abc076/submissions/16272116 |
s914321364 | p03563 | u596536048 | 1598554282 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9064 | 29 | print(-input() + input() * 2) |
s128549871 | p03563 | u074220993 | 1598497689 | Python | Python (3.8.2) | py | Runtime Error | 24 | 8956 | 65 | R, G = (int(x) for x in input().split())
ans = 2*G - R
print(ans) |
s381191544 | p03563 | u468972478 | 1597799661 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8908 | 47 | a = int(input())
b = int(input())
print(2b - a) |
s780458512 | p03563 | u468972478 | 1597799564 | Python | Python (3.8.2) | py | Runtime Error | 21 | 8948 | 47 | a = int(input())
b = int(input())
print(2b - a) |
s984987625 | p03563 | u589969467 | 1597320623 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9084 | 46 | r = int(input())
g = int(input())
print(g*2-a) |
s295074143 | p03563 | u367323774 | 1597255209 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9196 | 702 | c=input()
t=input()
lic=list(c)
lit=list(t)
ans=[]
lia=[]
n=len(c)-len(t)
End=False
for i in range(n+1):
hantei=True
s='?'*i+t+'?'*(n-i)
lis=list(s)
for j in range(len(c)):
p=lic[j]
q=lis[j]
a=(p==q)
if a==False and (p!='?' and q!='?'):
hantei = False
... |
s994172131 | p03563 | u443060157 | 1596856344 | Python | Python (3.8.2) | py | Runtime Error | 25 | 8784 | 47 | R,G = map (int, input(). split())
print (2*G-R) |
s754594964 | p03563 | u443060157 | 1596856310 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9152 | 47 | R,G = map (int, input(). split())
print (2*G-R) |
s700888878 | p03563 | u869790980 | 1596846969 | Python | PyPy2 (7.3.0) | py | Runtime Error | 439 | 84652 | 54 | a , av = map(int, raw_input().split())
print 2*av - a |
s001865058 | p03563 | u714104087 | 1596651474 | Python | PyPy3 (7.3.0) | py | Runtime Error | 103 | 74696 | 45 | r,g = map(int, input().split())
print(g*2-r) |
s846758282 | p03563 | u786020649 | 1596253101 | Python | Python (3.8.2) | py | Runtime Error | 30 | 9096 | 41 | r,g=map(int,input().split())
print(2*g-r) |
s656499099 | p03563 | u113255362 | 1594867956 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9096 | 59 | a = int(input())
b = int(input())
res = 2 * b -A
print(res) |
s179243932 | p03563 | u762557532 | 1593831128 | Python | PyPy3 (7.3.0) | py | Runtime Error | 89 | 74752 | 1310 | ###==================================================
### import
#import bisect
#from collections import Counter, deque, defaultdict
#from copy import deepcopy
#from functools import reduce, lru_cache
#from heapq import heappush, heappop
#import itertools
#import math
#import string
import sys
### stdin
def input(): re... |
s784810440 | p03563 | u514118270 | 1593305694 | Python | PyPy3 (7.3.0) | py | Runtime Error | 82 | 74592 | 482 | import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): retur... |
s167739235 | p03563 | u769530239 | 1593301552 | Python | Python (3.8.2) | py | Runtime Error | 27 | 8924 | 41 | r,g=map(int,input().split())
print(2*g-r) |
s412168943 | p03563 | u146346223 | 1592564977 | Python | Python (3.8.2) | py | Runtime Error | 21 | 9136 | 45 | a, b = map(int, input().split())
print(b*2-a) |
s237857722 | p03563 | u750651325 | 1592537779 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9084 | 56 | R = int(input())
G = int(input())
sa = G-B
print(G+sa)
|
s959975579 | p03563 | u608088992 | 1592226383 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3188 | 49 | R, G = map(int, input().split())
print(2 * G - R) |
s618808404 | p03563 | u626228246 | 1591984521 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | R,G = map(int,input().split())
print((2*G)-R)
|
s109444931 | p03563 | u626228246 | 1591984488 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 43 | R,G = map(int,input().split())
print(2*G-R) |
s744620614 | p03563 | u446711904 | 1591630113 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | r,g=map(int,input().split());print(g*2-r) |
s445615815 | p03563 | u391442102 | 1591327458 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | R = int(input())
G = int(input())
print(2G-R) |
s972368810 | p03563 | u411858517 | 1590779814 | Python | PyPy3 (2.4.0) | py | Runtime Error | 175 | 38256 | 76 | N = int(input())
items = [input() for _ in range(N)]
print(len(set(items))) |
s075287201 | p03563 | u427984570 | 1590028844 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a = int(input())
b = int(input())
print(2*c-a) |
s227332083 | p03563 | u760636024 | 1589154183 | Python | PyPy3 (2.4.0) | py | Runtime Error | 175 | 38512 | 44 | R,G = map(int, input().split())
print(2*G-R) |
s019382537 | p03563 | u263830634 | 1588898125 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3188 | 998 | import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 9)
MOD = 10 ** 9 + 7
N = int(input())
T = [0] + list(map(int, input().split()))
V = [0] + list(map(int, input().split()))
max_speed_from_left = [0] * (N + 1)
max_speed_from_right = [0] * (N + 1)
for i in range(1, N):
start = max_speed_from_left[i ... |
s124744196 | p03563 | u106778233 | 1588804393 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | r,g=map(int,input().split())
print(2*g-r) |
s881124439 | p03563 | u073139376 | 1588726526 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 35 | print(-int(input()+2*int(input()))
|
s318007754 | p03563 | u821775079 | 1588434632 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 38 | print(abs(int(input())-int(input())*2) |
s493793545 | p03563 | u201993393 | 1588103590 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 56 | 0 <= R <= 4500
0 <= G <= 4500
G = (R + A) / 2
print(A) |
s210590417 | p03563 | u129898499 | 1588041596 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | R = input()
G= input()
print ( 2*G - R) |
s098572614 | p03563 | u129898499 | 1588041582 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | R = input()
G= input()
print ( G + (G - R)) |
s690059991 | p03563 | u227085629 | 1587695829 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | r = int(input())
g = int(input())
print(2g-r) |
s825855258 | p03563 | u078349616 | 1587616048 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | R, G = map(int, input().split())
print(2*G - R) |
s905955919 | p03563 | u383450070 | 1587466677 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 49 | R = int(input())
G = int(nput())
print(2 * G - R) |
s909555350 | p03563 | u507116804 | 1587446085 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | r=input(int())
g=input(int())
print(2*g-r) |
s744908855 | p03563 | u376082984 | 1587332853 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 32 | a=input()
b=input()
print(b*2-a) |
s405721693 | p03563 | u376082984 | 1587332784 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | a, b = map(int, input().split())
print(b*2-a) |
s381159563 | p03563 | u376082984 | 1587332690 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 41 | a,b=map(int,input().split())
print(b*2-a) |
s523374882 | p03563 | u376082984 | 1587332296 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | a,b=map(int,input().split())
print(int(b*2-a)) |
s271565718 | p03563 | u376082984 | 1587332257 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 41 | a,b=map(int,input().split())
print(b*2-a) |
s568422137 | p03563 | u054717609 | 1587087751 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 53 | a=input()
a=int(a)
s=input()
s=int(s)
b=2s-a
print(b) |
s818905075 | p03563 | u054717609 | 1587087444 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | a=input()
a=int(a)
s=input()
s=int(s)
2s-a=b
|
s093153859 | p03563 | u535659144 | 1586965786 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 41 | x,y=map(int,input().split())
print(2*y-x) |
s584883816 | p03563 | u652656291 | 1586810278 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | r,g = map(int,input().split())
print(g*2-r) |
s635077745 | p03563 | u534504780 | 1586802473 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | R,G=map(int,input().split())
ans=G*2-R
print(ans) |
s886508865 | p03563 | u323210830 | 1586582056 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 32 | a=input()
b=input()
print(2*b-a) |
s236771600 | p03563 | u799428010 | 1586533017 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 35 | G,R = int(input())
A=2*G-R
print(A) |
s927515194 | p03563 | u799428010 | 1586532523 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | R,G= map(int, input().split())
print(2*G-R) |
s820311850 | p03563 | u799428010 | 1586532473 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | G,R= map(int, input().split())
print(2*R-G) |
s475421661 | p03563 | u799428010 | 1586532216 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 43 | G,R= map(int, input().split())
print(2*G-R) |
s733174949 | p03563 | u799428010 | 1586532031 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 31 | input R, G
output (2 * G – R) |
s798174061 | p03563 | u799428010 | 1586531983 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | G,R= map(int, input().split())
print(str(2G-R)) |
s987388096 | p03563 | u799428010 | 1586531170 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | a, b = map(int, input().split())
c=a+b
print(str(c/2)) |
s595822367 | p03563 | u799428010 | 1586530885 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 47 | a, b = map(int, input().split())
print((a+b)/2) |
s426136004 | p03563 | u581603131 | 1586442171 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 47 | R = int(input())
G = int(input())
print(2G - R) |
s727947835 | p03563 | u373047809 | 1586365508 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 36 | print(-int(input()) + int(input()*2) |
s115228986 | p03563 | u141410514 | 1586297775 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 44 | a,b = map(int,input().split())
print(2*b -a) |
s940042603 | p03563 | u772649753 | 1586290129 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 43 | r,g = map(int,input().split())
print(g*2-r) |
s864645144 | p03563 | u642418876 | 1585192939 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 42 | R=int(input())
G=int(input())
print(2G-R)
|
s933439635 | p03563 | u562491109 | 1584326584 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | R=input("入力")
G=input("入力")
print(2*G-R); |
s925628578 | p03563 | u734001128 | 1584237451 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 657 | import sys
input = sys.stdin.readline
s = input().rstrip("\n")
t = input().rstrip("\n")
flg = False
#cnt = 0
if len(s)-len(t)+1<0:
print("UNRESTOABLE")
sys.exit(0)
for i in range(len(s)-len(t)+1):
cnt = 0
for j in range(len(t)):
#print(s[i+j],t[j])
if s[i+j] == t[j] or s[i+j] == '?':
... |
s814509965 | p03563 | u734001128 | 1584237362 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 655 | import sys
input = sys.stdin.readline
s = input().rstrip("\n")
t = input().rstrip("\n")
flg = False
#cnt = 0
if len(s)-len(t)+1<0:
print("UNRESTOABLE")
sys.exit(0)
for i in range(len(s)-len(t)+1):
cnt = 0
for j in range(len(t)):
#print(s[i+j],t[j])
if s[i+j] == t[j] or s[i+j] == '?':
... |
s139497850 | p03563 | u734001128 | 1584237244 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 654 | import sys
input = sys.stdin.readline
s = input().rstrip("\n")
t = input().rstrip("\n")
flg = False
#cnt = 0
if len(s)-len(t)+1<0:
print("UNRESTOABLE")
sys.exit()
for i in range(len(s)-len(t)+1):
cnt = 0
for j in range(len(t)):
#print(s[i+j],t[j])
if s[i+j] == t[j] or s[i+j] == '?':
... |
s755739141 | p03563 | u686713618 | 1583898769 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | R, G = map(int, input().split())
print(2*G-R) |
s200824519 | p03563 | u283220417 | 1583725113 | Python | Python (3.4.3) | py | Runtime Error | 2104 | 4260 | 191 | N = int(input())
K = int(input())
def func(a):
ans = 1
for n in range(a):
ans = ans*2
for n in range(N-a):
ans = ans + K
return ans
print(min([func(i) for i in range(N)])) |
s902438450 | p03563 | u881116515 | 1583166109 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | a,b = map(int,input().split())
print(a+(b-a)*2) |
s625521285 | p03563 | u779308281 | 1582426680 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | r = input()
g = input()
print(2* g - r) |
s215751271 | p03563 | u016901717 | 1582323385 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 39 | r,g = map(int,input())
print(-r + 2*g)
|
s138805799 | p03563 | u488934106 | 1582122713 | Python | PyPy3 (2.4.0) | py | Runtime Error | 177 | 38256 | 164 | def newrating(r , g):
return (r + g) / 2
def main():
r , g = map(int , input().split())
print(newrating(r , g))
if __name__ == '__main__':
main() |
s397620281 | p03563 | u627803856 | 1581551044 | Python | PyPy3 (2.4.0) | py | Runtime Error | 172 | 38384 | 45 | r, g = map(int, input().split())
print(2*g-r) |
s204664491 | p03563 | u627803856 | 1581550676 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38256 | 45 | r, g = map(int, input().split())
print(2*g-r) |
s462104603 | p03563 | u113971909 | 1581189992 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | a,m=map(int,input().split())
print(2*m-a) |
s847472295 | p03563 | u361826811 | 1580329906 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 256 | """
author : halo2halo
date : 29, Jan, 2020
"""
import sys
import itertools
# import numpy as np
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
A, B = read().decode('utf8').split()
print(2*B-A)
|
s278642197 | p03563 | u094191970 | 1580021641 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 43 | r,g=map(int,input().split())
print((2*g)-r) |
s409869761 | p03563 | u485566817 | 1577664561 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 38 | r = input()
g = input()
print(2*g - r) |
s252207564 | p03563 | u153419200 | 1577297038 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 32 | a=input()
b=input()
print(2*b-a) |
s873131878 | p03563 | u506587641 | 1576909658 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 46 | r = int(input())
g = int(input())
print(2g-r) |
s904943808 | p03563 | u292661157 | 1576704077 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 876 | N = int(input())
t = [0]+ list(map(int,input().split()))
v = [0] + list(map(int,input().split()))
T = sum(t)
limit=[0]*(T+1)
sp_forward=[0]*(T+1)
sp_backward=[0]*(T+1)
j = 1
tmp = 0
for i in range(1,T+1):
limit[i] = v[j]
tmp += 1
if tmp == t[j]:
if j < N-1 and v[j+1] < v[j]:
limit[i]... |
s064832863 | p03563 | u075155299 | 1575655107 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 42 | r=int(input())
g=int(input())
print(2g-r) |
s302970171 | p03563 | u075155299 | 1575654972 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 42 | r=int(input())
g=int(input())
print(2g-r) |
s730861414 | p03563 | u088974156 | 1574643504 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | n=int(input())
m=int(input())
print(2m-n) |
s658235801 | p03563 | u609814378 | 1574620819 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 56 | R,G = map(int, input().split())
X = ((2*G)-R)
print(X) |
s859831836 | p03563 | u940061594 | 1572994563 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3188 | 74 | #Rating Goal
R, G = map(int, input().split())
T = R + 2 * (G - R)
print(T) |
s542531847 | p03563 | u940061594 | 1572994519 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3188 | 75 | #Rating Goal
R, G = map(int, input().split())
T = R + 2 * (G - R)
print (T) |
s203357180 | p03563 | u089230684 | 1572538173 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | #asfddddddd
n, m = map(int, input().split())
print(m + m - n) |
s464867592 | p03563 | u591717585 | 1571368852 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 42 | a=int(input())
b=int(input())
prinp(b*2-a) |
s865322385 | p03563 | u591717585 | 1571368817 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 41 | a,b=map(int,input().split())
prinp(b*2-a) |
s931718598 | p03563 | u287431190 | 1569598189 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 32 | r,g = map(int, input().split())
|
s336636961 | p03563 | u287431190 | 1569598161 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 55 | r,g = map(int, input().split())
s = g * 2 - r
print(s) |
s977241719 | p03563 | u287431190 | 1569598119 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | r,g = map(int, input().split())
print(g*2-r) |
s298034029 | p03563 | u055687574 | 1569377843 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | r, g = map(int, input().split())
x = g * 2 - r
print(x)
|
s978444507 | p03563 | u690781906 | 1569342056 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 49 | r = int(input())
g = int(input())
print(2 * g - r |
s366179516 | p03563 | u646412073 | 1569284504 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 66 | lst=list(map(int, input().split()))
r=lst[0]
g=lst[1]
print(2*g-r) |
s206911410 | p03563 | u646412073 | 1569284130 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | lst = map(int, input().split())
r = lst[0]
g = lst[1]
print(2*g-r)
|
s661115454 | p03563 | u961674365 | 1569128841 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 41 | r,g=map(int,input().split())
print(g*2-r) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.