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
s873368003
p03563
u950376354
1569096175
Python
Python (3.4.3)
py
Runtime Error
18
2940
1
V
s669401286
p03563
u871596687
1568386545
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
R = int(input()) G = int(input()) print(2G-R)
s097981161
p03563
u871596687
1568386490
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
R = int(input()) G = int(input()) input(2G-R)
s508430745
p03563
u532514769
1568064588
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
r = int(input()) g = int(input()) print(2g-r)
s161415136
p03563
u395202850
1567254395
Python
Python (3.4.3)
py
Runtime Error
18
2940
52
r, g = map(int, input().split()) print((r + g) / 2)
s251736533
p03563
u555356625
1567024402
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
r = int(input()) g = int(input()) print(2g-r)
s796228975
p03563
u619819312
1566710961
Python
Python (3.4.3)
py
Runtime Error
18
3064
465
from itertools import accumulate as ac n=int(input())+2 t=[0]+list(map(int,input().split()))+[0] v=[0]+list(map(int,input().split()))+[0] s=[0]+list(ac(t)) def f(i,x): if s[i]<=x<=s[i+1]:return v[i] elif x<s[i]:return v[i]+s[i]-x else:return v[i]+x-s[i+1] c=float("INF") for i in range(n): c=min(c,f(i,0)...
s441128269
p03563
u717626627
1566598098
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
r = int(input()) g = int(input()) print(abs(g - r)*2 + mint(g,r))
s477697279
p03563
u627530854
1566512370
Python
Python (3.4.3)
py
Runtime Error
18
2940
63
(r, g) = (int(tok) for tok in input().split()) print(2 * g - r)
s508451101
p03563
u643714578
1566492131
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
R = int(input()) G = int(input()) print(2G-R)
s101221658
p03563
u264265458
1566317509
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
a=int(input()) b=int(input()) print(2b-a)
s179292624
p03563
u256464928
1565927978
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
r = int(input()) g = int(input()) print(2g-r)
s535907396
p03563
u248670337
1565586825
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
print(-int(input()+int(input())*2)
s033469165
p03563
u111365362
1565474979
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
#18:09 r,g = map(int,input().split()) print ( 2 * g - r )
s084496608
p03563
u268285577
1565284266
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
R = int(input()) G = int((input)) peform =
s974564008
p03563
u248192265
1565225021
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
now_Rating = int(input(R)) average = int(input(G)) x = 2*average-now_Rating prtint(x)
s035091339
p03563
u302292660
1564813163
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
r = int(input()) g = int(input()) print(2g-r)
s855388320
p03563
u871841829
1564800492
Python
Python (3.4.3)
py
Runtime Error
17
2940
171
h, w = 2, 3 c = [] for _ in range(h): c.append(input()) if c[0][0] == c[1][2] and c[0][1] == c[1][1] and c[0][2] == c[1][0]: print("YES") else: print("NO")
s382124237
p03563
u790301364
1564597333
Python
Python (3.4.3)
py
Runtime Error
17
2940
304
import java.util.*; import java.lang.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); int g = sc.nextInt(); int result = g * 2 - r; System.out.println(result); sc.close(); } }
s158106603
p03563
u897328029
1564265631
Python
Python (3.4.3)
py
Runtime Error
17
3064
84
r = int(input().split()[0]) g = int(input().split()[0]) next = g * 2 - r print(next
s019046532
p03563
u136811344
1563550344
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
R = int(input()) G = int(intpu()) print(2*G-R)
s980960052
p03563
u333190709
1563074050
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
r, g = map(int, input().split()) print(r + (g-r) * 2)
s264624501
p03563
u898608852
1562629764
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
R=input() G=input() answer=R-G
s686580729
p03563
u552122040
1562627673
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
#include <bits/stdc++.h> using namespace std; int main() { int r, g; cin >> r >> g; cout << 2 * g - r << endl; return 0; }
s853701812
p03563
u552122040
1562627620
Python
Python (3.4.3)
py
Runtime Error
18
2940
347
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < n; i++) #define REPR(i, n) for (int i = 0; i >= 0; i--) #define FOR(i, m, n) for (int i = m; i < n; i++) #define INF 2e9 #define ALL(v) v.begin(), v.end() using namespace std; typedef long long ll; int main() { int r, g; cin >> r >> g; cout << 2 * g ...
s814417407
p03563
u552122040
1562627532
Python
Python (3.4.3)
py
Runtime Error
17
2940
347
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < n; i++) #define REPR(i, n) for (int i = 0; i >= 0; i--) #define FOR(i, m, n) for (int i = m; i < n; i++) #define INF 2e9 #define ALL(v) v.begin(), v.end() using namespace std; typedef long long ll; int main() { int r, g; cin >> r >> g; cout << 2 * g ...
s850373723
p03563
u248221744
1561357806
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
R = int(input()) G = int(input()) print(2G - R)
s061559457
p03563
u102461423
1560218473
Python
Python (3.4.3)
py
Runtime Error
17
2940
32
r=input() g=input() print(2*g-r)
s499064610
p03563
u371409687
1560191153
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
r,g=[int(input()) for i range(2)] print(g*2-r)
s052191239
p03563
u463655976
1559127492
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
print(-eval(open(0).replace("\n","-2*")))
s718577459
p03563
u463655976
1559126650
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
44
print(eval(("2*" +input()).replace(" ","-"))
s884240799
p03563
u266874640
1558420737
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
R = input() G = input() print(2 * G - R)
s085540976
p03563
u073549161
1558123565
Python
PyPy3 (2.4.0)
py
Runtime Error
184
38384
72
r = int(input()) g = int(input()) x = (2*g) - r print(x)
s437467151
p03563
u073549161
1558123329
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38768
72
r = int(input()) g = int(input()) x = (2*g) - r print(x)
s578220985
p03563
u037221289
1557949532
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
R = int(input()) G = int(input()) print(2G-R)
s518894064
p03563
u268516119
1557703017
Python
Python (3.4.3)
py
Runtime Error
18
2940
39
R=int(input()) print((int(input())*2-R)
s625794438
p03563
u315703650
1557245985
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
r = input() g = input() print(2*g-r)
s082361503
p03563
u728566015
1556847328
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
R, G = map(int, input().split()) print(2 * G - R)
s139656133
p03563
u507116804
1556685500
Python
Python (3.4.3)
py
Runtime Error
18
2940
50
a,b=map(int, input().split()) print(int(2*b-a))
s194837096
p03563
u475675023
1556424256
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
r=int(input()) g=int(input()) print(int(g*2−r))
s186602434
p03563
u475675023
1556424174
Python
Python (3.4.3)
py
Runtime Error
18
2940
44
r=int(input()) g=int(input()) print(g*2−r)
s758603980
p03563
u119345557
1556140081
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
g=int(input()) r=int(input()) print (2r-g)
s547923477
p03563
u119345557
1556139998
Python
Python (3.4.3)
py
Runtime Error
17
2940
32
g=input() r=input() print(2r-g)
s678368474
p03563
u119345557
1556139909
Python
Python (3.4.3)
py
Runtime Error
18
2940
32
g,r=map(int,input()) print(2r-g)
s116957605
p03563
u103902792
1555987479
Python
Python (3.4.3)
py
Runtime Error
18
3064
347
s = input()[::-1] t = input()[::-1] for i,c in enumerate(s): if (c == t[0] or c == '?') and (i+len(t) < len(s)-1): for j in range(len(t)): if t[j] != s[i+j] and s[i+j] != '?': break else: for j in range(len(t)): s[i+j] = t[j] print(s.replace('?', 'a')[::-1]) break else...
s586460070
p03563
u960171798
1555949264
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
R = int(input()) G = int(input()) print(2G-R)
s202096216
p03563
u767664985
1555738674
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
r, g = map(int, input().split()) print(2 * g - r)
s769978203
p03563
u121732701
1554584365
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
R = int(input()) G = int(input()) print(2*G/R)
s707563368
p03563
u633355062
1553873776
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
g,r=map(int,input().split()) print(2*g-r)
s578078732
p03563
u720483676
1553739208
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
r,g=map(int,input().split());print(g*2-r)
s666993973
p03563
u835628599
1553706832
Python
Python (3.4.3)
py
Runtime Error
18
2940
64
A=[] for i in range(2): A[i]=int(input()) print(A[1]*2-A[0])
s495853754
p03563
u835628599
1553706229
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
A,B=input().split() A=int(A) B=int(B) print(B*2-A)
s231808519
p03563
u747873993
1553405284
Python
Python (3.4.3)
py
Runtime Error
17
2940
32
R=input() G=input() print(G*2-R)
s077346547
p03563
u694810977
1552875724
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
R,G = map(int,input().split()) print(2*G-R)
s544694148
p03563
u170324846
1551821126
Python
Python (3.4.3)
py
Runtime Error
18
2940
41
R=int(input()) G=int(input()) print(2G-R)
s205772967
p03563
u732870425
1551501676
Python
Python (3.4.3)
py
Runtime Error
17
3064
46
r = int(input()) g = int(input()) print(r+2g)
s582039245
p03563
u973663980
1551401634
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
r,g=list(map(int,input().split())) print(2*g-r)
s594385183
p03563
u973663980
1551401464
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
r,g=map(int,input().split()) print(2*g-r)
s433994477
p03563
u973663980
1551401163
Python
Python (3.4.3)
py
Runtime Error
18
2940
43
R, G= map(int,input().split()) print(2*G-R)
s209526047
p03563
u973663980
1551401104
Python
Python (3.4.3)
py
Runtime Error
18
2940
42
R,G= map(int,input().split()) print(2*G-R)
s994905669
p03563
u973663980
1551400577
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
R, G=map(int,input().split()) print(2*G-R)
s385058289
p03563
u973663980
1551400319
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
R,G=map(int,input().split()) print(2*G-R)
s721887225
p03563
u973663980
1551400291
Python
Python (3.4.3)
py
Runtime Error
18
2940
45
R,G=map(int,input().split()) print(2*G-R)
s430855262
p03563
u973663980
1551400206
Python
Python (3.4.3)
py
Runtime Error
18
2940
41
R,G=map(int,input().split()) print(G*2-R)
s594790437
p03563
u973663980
1551400101
Python
Python (3.4.3)
py
Runtime Error
18
2940
43
R,G=map(int,input().split()) print((2*G)-R)
s497134520
p03563
u973663980
1551399991
Python
Python (3.4.3)
py
Runtime Error
17
3064
42
R,G=map(int,input().split()) print(2*G-R)
s991727900
p03563
u973663980
1551399823
Python
Python (3.4.3)
py
Runtime Error
18
2940
41
R,G=map(int,input().split()) print(2*G-R)
s345522471
p03563
u112324182
1551136909
Python
Python (3.4.3)
py
Runtime Error
18
2940
97
def main(): n = int(input()) t = [int(input()) for i in range(n)] print(t[1]*2 - t[0])
s517988862
p03563
u112324182
1551136642
Python
Python (3.4.3)
py
Runtime Error
18
2940
23
def main: print(1000)
s745317000
p03563
u909643606
1550109877
Python
Python (3.4.3)
py
Runtime Error
19
3064
1361
#区間ごとの面積を計算する def calc_area(v_end, v_start, v_max, dt): kouten_v = (v_end + v_start + dt) / 2 kouten_t = kouten_v - v_start if 0 < kouten_t < dt: area = (v_start + kouten_v) * kouten_t / 2 #左側 area += (v_end + kouten_v) * (dt - kouten_t) / 2 #右側 area -= max(0, (kouten_v - v_max))**...
s695965584
p03563
u777028980
1550003470
Python
Python (3.4.3)
py
Runtime Error
18
2940
41
a=int(input()) b=int(input()) print(2b-a)
s732589897
p03563
u951601135
1549338093
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
R,G=map(int,input().split()) print(2*G-R)
s315678456
p03563
u993642190
1546487728
Python
Python (3.4.3)
py
Runtime Error
18
2940
46
R = int(input()) G = int(input()) print(2G-R)
s314844141
p03563
u740284863
1546305926
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
R = int(input()) G = int(input()) P = 2G-R print(P)
s306385563
p03563
u071061942
1546284741
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
R = int.input() G = int.input() ans = 2 * G - R print(ans)
s870923155
p03563
u785578220
1546143865
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
a=int(input()) b=int(input()) print(2b-a)
s956772661
p03563
u272377260
1544849020
Python
Python (3.4.3)
py
Runtime Error
18
2940
54
r, g = map(int, input().split()) print(int(g * 2 - r))
s866413135
p03563
u434148038
1544574534
Python
Python (3.4.3)
py
Runtime Error
18
2940
40
def aa(a,b): return (2*b-a) aa(a,b)
s807644250
p03563
u515364861
1544574241
Python
Python (3.4.3)
py
Runtime Error
18
3060
472
import sys # 関数 solve は,もちろん,問題に応じて書き換える def solve(R,G): return(G*2-R) # ここから下は,入力・出力形式が同じであれば,変えなくて良い. def readQuestion(): line = sys.stdin.readline().rstrip() [str_a, str_b] = line.split(' ') return (int(str_a), int(str_b)) def main(): a, b = readQuestion() answer = solve(a, b) prin...
s681857636
p03563
u434148038
1544573894
Python
Python (3.4.3)
py
Runtime Error
18
2940
40
def aa(a,b): return (2*b-a) aa(a,b)
s023156735
p03563
u515364861
1544573828
Python
Python (3.4.3)
py
Runtime Error
18
2940
397
import sys def solve(R,G): print(G*2-R) # Uncomment the following if you want to check the input. # print('R =', R) # print('G =', G) def readQuestion(): ws = sys.stdin.readline().strip().split() R = int(ws[0]) ws = sys.stdin.readline().strip().split() G = int(ws[0]) return (R,G) ...
s285501221
p03563
u515364861
1544571196
Python
Python (3.4.3)
py
Runtime Error
18
2940
43
n,k = map(int,input().split()) print(k*2-n)
s053819248
p03563
u397531548
1544553186
Python
Python (3.4.3)
py
Runtime Error
18
3064
716
S=input() T=input() j=0 i=-1 flag = False while i>=-1*len(S)-1+len(T): while j>=-1*len(T): if i==-1*len(S)-1+len(T): A="UNRESTORABLE" flag=True break elif j==-1*len(T): if i!=-1: P=S.replace(S[i-len(T)+1:i+1],T,1) A=P.re...
s213046519
p03563
u561828236
1541723774
Python
Python (3.4.3)
py
Runtime Error
18
2940
46
r = int(input()) g = int(input()) print(2g-r)
s420059573
p03563
u984870883
1541214099
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
# -*- coding: utf-8 -*- a=input() b=input() s=2*b-a print(s)
s216795396
p03563
u143189168
1541018833
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
r = int(input()) g = int(input()) print(2g-r)
s360469880
p03563
u143189168
1541018807
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
r = int(input()) g = int(input()) pri
s799050868
p03563
u853900545
1539441564
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
r = int(input()) g = int(input()) print(2g-r)
s789294522
p03563
u484856305
1538880026
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
r=int(input()) g=int(input()) print(2*b-a)
s284035755
p03563
u163449343
1538529998
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
r,g = map(int, input().split()) print((g*2)/r)
s798639759
p03563
u411858517
1536188067
Python
Python (3.4.3)
py
Runtime Error
17
3064
641
S = input() T = input() res = '' end = -1 for i in range(len(S) - len(T) + 1): for j in range(len(T)): start = i if S[i+j] == T[j]: end = i + j flag == 1 elif S[i+j] == '?': end = i + j flag == 0 else: pass ...
s320090269
p03563
u889914341
1535773980
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
r, g = map(int, input().split()) print(2 * g - r)
s231936304
p03563
u371686382
1533261992
Python
Python (3.4.3)
py
Runtime Error
17
3060
248
s = input() t = input() for i in range(len(s)-len(t),-1,-1): for j in range(len(t)): if s[i+j] != '?' and s[i+j] != t[j]: break else: print('{}{}{}'.format(s[:i],t,s[i+u:]).replace('?','a')) break else: print('UNRESTORABLE')
s634845683
p03563
u636775911
1531708395
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
#coding:utf-8 n=[int(i) for i in input().split()] n1=n[1]*2-n[0] print(n1)
s228908622
p03563
u007462477
1528910593
Python
Python (3.4.3)
py
Runtime Error
17
2940
143
#include<stdio.h> int main( void ) { int r, g; scanf("%d", &r); scanf("%d", &g); printf("%d\n", r + (g-r)*2); return 0; }
s590148351
p03563
u724892495
1528828730
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
A = int(input()) B = int(input()) print(B*2-A))
s788356196
p03563
u735588483
1528243600
Python
Python (3.4.3)
py
Runtime Error
19
3060
102
N = int(input()) a = [] for i in range(N): a.append(input()) R=int(a[0]) G=int(a[1]) print(2*G-R)
s565789942
p03563
u735588483
1528243322
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
hoge=[] for i in range(0,1): a=int(input()) hoge.append(a) R=hoge[0] G=hoge[1] print(2*G-R)
s534679987
p03563
u735588483
1528242993
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
hoge=[] for i in range(0,1): a=int(input()) hoge.append(a) N=2*G-R print(N)
s108832053
p03563
u735588483
1528242784
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
R=input() G=input() N=2*G-R print(N)