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
s992643356
p03997
u825601908
1585712355
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a=int(input()) b=int(input()) h=int(input()) print(((a+b)*h)//2))
s593249568
p03997
u825601908
1585712203
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
a=int(input()) b=int(input()) h=int(input()) print((a+b)*h/2))
s502665800
p03997
u825601908
1585712158
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
a=int(input()) a=int(input()) a=int(input()) print((a+b)*h/2)
s921310994
p03997
u825601908
1585701786
Python
Python (3.4.3)
py
Runtime Error
17
2940
22
print(int((a+b)*h/2))
s360085820
p03997
u825601908
1585701465
Python
Python (3.4.3)
py
Runtime Error
17
2940
16
int("(a+b)*h/2")
s418835584
p03997
u063346608
1585682077
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
a,b,h = map(int,input().split()) answer = (a + b) * h / 2 print(int(answer))
s699817888
p03997
u063346608
1585682037
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a,b,h = map(int,input().split()) answer = (a + b) * h / 2 print(answer)
s907661806
p03997
u757030836
1585590247
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
S = {c:list(input()) for c in "abc"} s = "a" while S[s]:s = S[s].pop(0) print(s.upper())
s787263524
p03997
u836737505
1585395416
Python
Python (3.4.3)
py
Runtime Error
19
2940
66
a = int(input()) b = int(input()) c = int(input()) print(a+b*h//2)
s507753754
p03997
u970809473
1585331095
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
a = int(input()) b = int(input()) c = int(input()) print((a+b)*h//2)
s225071740
p03997
u255049121
1585097586
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
def foo (a,b,h) x = 0 x += (a+ b) /2 x *= h return x
s982022481
p03997
u017415492
1585013992
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
a=int(iput()) b=int(input()) h=int(input()) print(int((a+b)*h/2))
s646197298
p03997
u159975271
1584987315
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
a = int(input()) b = int(input()) h = int(input()) k = (a + b)* h /2 print(round(k)
s204177605
p03997
u586563885
1584135326
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
a = int(input()) b = int(input()) h = int(input()) print(int((a+b)*h//2))
s775271339
p03997
u586563885
1584135169
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
a = int(input()) b = int(input()) h = int(input()) print((a+b)*h//2)
s671201889
p03997
u586563885
1584135045
Python
Python (3.4.3)
py
Runtime Error
18
2940
90
a= int(input()) b= int(input()) k= int(input()) h= int(input()) h=2*k print((a+b)*h/2)
s521774210
p03997
u465152652
1583977825
Python
Python (3.4.3)
py
Runtime Error
16
2940
58
a,b,h = [int(input()) for i in range(3) print((a + b)*h/2)
s439060540
p03997
u578501242
1583939208
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
x=int(input() y=int(input() z=int(input() print((x+y)*z/2)
s812431381
p03997
u393881437
1583790819
Python
Python (3.4.3)
py
Runtime Error
16
2940
58
a,b,h = list(map(int, input().split())) print((a+b)*h / 2)
s575873810
p03997
u310394471
1583301988
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
A,B,C = map(int, input().split()) print((A+B)*C)
s789274489
p03997
u506858457
1583097561
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
for i in range(3): A[i]=int(input()) #print(A) ans=(A[0]+A[1])*A[2]/2 print(ans)
s795222914
p03997
u996731299
1582950954
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
a=input() b=input() h=input() ans = (a+b)*h/2 print(ans)
s676110864
p03997
u996731299
1582950702
Python
Python (3.4.3)
py
Runtime Error
18
2940
26
ans = (a+b)*h/2 print(ans)
s474474602
p03997
u996731299
1582950660
Python
Python (3.4.3)
py
Runtime Error
17
2940
10
(a+b)*h/2
s629419498
p03997
u095556249
1582927990
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
a = int.print(a) b = int.print(b) h = int.print(h) d = (a+b)*h/2 print(d)
s836529489
p03997
u629557958
1582926801
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
for i in range(3): a,b,h = int(input()) ans = (a+b)*h/2 print(ans)
s169464316
p03997
u668265509
1582603402
Python
Python (3.4.3)
py
Runtime Error
17
3064
459
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): if len(s[player]) == []: play(play_order[player]) next_play = s[player].pop() if len(s[player]) == 0: print(player) return player #print(next_play) play(next_play.upper()) print(play('A'))
s590044275
p03997
u668265509
1582603301
Python
Python (3.4.3)
py
Runtime Error
18
3060
384
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): next_play = s[player].pop() if len(s[player]) == 0: return player #print(next_play) play(next_play.upper()) print(play('A'))
s914923897
p03997
u668265509
1582603253
Python
Python (3.4.3)
py
Runtime Error
17
3064
445
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): if len(s[player]) == 0: play(play_order[player]) next_play = s[player].pop() if len(s[player]) == 0: return player #print(next_play) play(next_play.upper()) print(play('A'))
s224681987
p03997
u668265509
1582603184
Python
Python (3.4.3)
py
Runtime Error
18
3064
451
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): if len(s[player]) == 0: play(play_order[player]) next_play = s[player].pop() if len(s[player]) == 0: print(player) return player #print(next_play) play(next_play.upper()) play('A')
s809836972
p03997
u668265509
1582603025
Python
Python (3.4.3)
py
Runtime Error
17
3064
448
input = open(0).readline s = {} s['A'] = list(input().strip()) s['B'] = list(input().strip()) s['C'] = list(input().strip()) play_order = {'A':'B', 'B':'C', 'C':'A'} def play(player): if len(s[player]) == 0: play(play_order['A']) next_play = s[player].pop() if len(s[player]) == 0: print(player) return player #print(next_play) play(next_play.upper()) play('A')
s119559274
p03997
u752907799
1582528112
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
a, b, h = map(int, input().split()) print((a+b)*h//2)
s255931070
p03997
u766566560
1582079259
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
a = int(input()) b = int(input()) h = int(input()) print({a + b} * h // 2)
s630308996
p03997
u052221988
1581900144
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
a, b, h = [int(input()) for i in range(3)] print(int((a+b)*h/2)
s303787600
p03997
u698437687
1581586953
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b,h=map(int,input().split()) print((((a+b)*h)//2)
s451186394
p03997
u698437687
1581586898
Python
Python (3.4.3)
py
Runtime Error
16
2940
49
a,b,h=map(int,input().split()) print(((a+b)*h)/2)
s643955163
p03997
u995004106
1581551008
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
50
a,b,c=map(int,input().split()) print(((a+b)*c)/2)
s249575036
p03997
u617659131
1581137926
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
a = int(input()) b = int(input()) h = int(input()) print((a+B)*h//2)
s546974126
p03997
u752552310
1580295762
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
a = input() b = input() h = input() print((a+b)*h/2)
s658866410
p03997
u278379520
1579991822
Python
Python (3.4.3)
py
Runtime Error
18
2940
41
a,b,h=map(int,input()) print((a+b)*h//2)
s240375316
p03997
u278379520
1579991454
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
a,b,h=map(int,input().split()) print((a+b)*h//2)
s058322463
p03997
u193019328
1579647183
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
a,b,c = map(int,input().split()) print((a+b)*c/2)
s034633368
p03997
u193019328
1579647033
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
data = int(input().split()) print((data[0]+data[1])*data[2]/2)
s465184196
p03997
u193019328
1579646858
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
from sys import stdin input_data = int(stdin.readline().rstrip()) print((input[0]+input[1])*input[3]/2)
s435822007
p03997
u012131682
1579404707
Python
Python (3.4.3)
py
Runtime Error
18
2940
89
import sys a,b,h=map(int,input().split()) square = (a + b) * h / 2 print(int(square))
s858249213
p03997
u012131682
1579404400
Python
Python (3.4.3)
py
Runtime Error
18
2940
84
import sys a,b,h=map(int,input().split()) square = (a + b) * h / 2 print(square)
s940993326
p03997
u871596687
1579382164
Python
Python (3.4.3)
py
Runtime Error
17
2940
571
sa = [s for s in input()] sb = [s fir s in input()] sc = [s for s in input()] next_turn = "a" flag = True while flag: if next_turn == "a": if len(sa) == 0: print("A") flag = False else: next_turn = sa.pop(0) elif next_tunr == "b": if len(sb) == 0: print("B") flag = false else: next_turn = sb.pop(0) elif next_turn == "c": if len(sc) ==0: print("C") flag = False else: next_turn = sc.pop(0)
s021739060
p03997
u843722521
1579316799
Python
PyPy3 (2.4.0)
py
Runtime Error
161
38256
50
print((int(input()+int(input())*(int(input())//2))
s764771820
p03997
u263933075
1579123215
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a,b,h=map(int,input().split()) print((a+b)*h/2)
s661983791
p03997
u476418095
1579122099
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a,b,c=map(int,input().split()) print((a+b)*h/2)
s563700829
p03997
u789920341
1579039888
Python
Python (3.4.3)
py
Runtime Error
18
2940
40
print((input() + input()) * input() / 2)
s413197839
p03997
u614550445
1577866999
Python
Python (3.4.3)
py
Runtime Error
17
2940
1243
// abc045_a #include <bits/stdc++.h> #ifdef LOCAL #include "../cxx-prettyprint/prettyprint.hpp" #endif using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair<int, int> P; #define REP(i, n) for (int (i) = 0 ; (i) < (int)(n) ; ++(i)) #define REPN(i, m, n) for (int (i) = m ; (i) < (int)(n) ; ++(i)) #define REP_REV(i, n) for (int (i) = (int)(n) - 1 ; (i) >= 0 ; --(i)) #define REPN_REV(i, m, n) for (int (i) = (int)(n) - 1 ; (i) >= m ; --(i)) #define ALL(x) x.begin(), x.end() #define INF ((1 << 29)-1) #define MOD (1000000007) #define print2D(h, w, arr) REP(i, h) { REP(j, w) cout << arr[i][j] << " "; cout << endl; } #define print_line(vec, n) {for(int i=0;i<(n-1);i++) cout << (vec)[i] << " "; cout << (vec)[(n)-1] << endl;} template<class T> void print(const T& x){cout << x << endl;} template<class T, class... A> void print(const T& first, const A&... rest) { cout << first << " "; print(rest...); } struct PreMain {PreMain(){cin.tie(0);ios::sync_with_stdio(false);cout<<fixed<<setprecision(20);}} premain; int main() { #ifdef LOCAL ifstream in("../arg.txt"); cin.rdbuf(in.rdbuf()); #endif int a, b, h; cin >> a >> b >> h; int ans = (a + b) * h / 2; print(ans); return 0; }
s643123170
p03997
u241190800
1577847875
Python
Python (3.4.3)
py
Runtime Error
17
2940
148
data = [int(input()) for i in range(3)] result = data[0]+data[1])*data[2]*0.5 if result == int(result) : print(int(result)) else : print(result)
s164927103
p03997
u918009437
1577667722
Python
Python (3.4.3)
py
Runtime Error
18
2940
67
a=int(input()) b=int(input()) h=int(input()) print(((a+b)*h)//2)
s443141072
p03997
u089376182
1577296422
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b,h = map(int, input().split()) print((a+b)*h//2)
s200311186
p03997
u972892985
1576756211
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a, b, h = map(int,input().split()) print(((a+b)*h)//2)
s801193862
p03997
u972892985
1576756158
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a, b, h = map(int.input().split()) print(((a+b)*h)//2)
s128398072
p03997
u768896740
1576713951
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a = int(input()) b = int(input()) c = int(input()) print((a+b)*h)
s027664427
p03997
u905582793
1576421474
Python
Python (3.4.3)
py
Runtime Error
18
3060
48
a,b,h=map(int,input().split()) print((a+b)*h//2)
s108113412
p03997
u275212209
1575386154
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
#include <bits/stdc++.h> using namespace std; int main(){ int a, b, h; cin >> a >> b >> h; cout << (a+b)*h/2 << endl; }
s350675168
p03997
u275212209
1575385973
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a,b,h=list(map(int,input().split())) print((a+b)*h//2)
s554527744
p03997
u275212209
1575385939
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int,input().split()) print((a+b)*h//2)
s117018981
p03997
u275212209
1575385778
Python
Python (3.4.3)
py
Runtime Error
18
2940
47
a,b,h=map(int,input().split()) print((a+b)*h/2)
s126729253
p03997
u275212209
1575385755
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
a,b,h= map(int, input().split()) print((a+b)*h/2)a,b,h=map(int,input().split()) print((a+b)*h/2)
s379941298
p03997
u275212209
1575385707
Python
Python (3.4.3)
py
Runtime Error
18
3064
49
a,b,h= map(int, input().split()) print((a+b)*h/2)
s556707298
p03997
u365254117
1575334076
Python
Python (3.4.3)
py
Runtime Error
17
2940
338
lis=list(map(int, list(input() for i in range(3))) tn=0 while len(l[tn])>0: if l[tn][0]=="a": l[tn]=l[tn][1:] tn=0 elif l[tn][0]=="b": l[tn]=l[tn][1:] tn=1 elif l[tn][0]=="c": l[tn]=l[tn][1:] tn=2 if tn==0: print("A") elif tn==1: print("B") elif tn==2: print("C")
s113805300
p03997
u495296799
1575148301
Python
Python (3.4.3)
py
Runtime Error
17
2940
1
a
s561546691
p03997
u582663624
1574981351
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
l=[int(input()) for in in range(3)] a=l[0] b=l[1] h=l[2] print((a+b)*h//2)
s251188535
p03997
u582663624
1574981309
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
l=list(map(int,input().split())) a=l[0] b=l[1] h=l[2] print((a+b)*h//2)
s879136830
p03997
u616188005
1574785491
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
a = int(input()) b = int(input()) h = int(input()) ans = (a+b)*h/2 print()ans
s227673130
p03997
u219197917
1574727919
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int,input().split());print((a+b)*h//2)
s663139753
p03997
u467831546
1574633791
Python
Python (3.4.3)
py
Runtime Error
19
3060
63
a, b, h = map(int, input().split()) print(int((a + b) * h / 2))
s073142858
p03997
u467831546
1574633357
Python
Python (3.4.3)
py
Runtime Error
18
2940
59
a, b, h = map(int, input().split()) print((a + b) * h // 2)
s406331916
p03997
u467831546
1574633184
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b, h = map(int, input().split()) print((a + b) * h / 2)
s804577221
p03997
u467831546
1574633082
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b, h = map(int, input().split()) print((a + b) * h / 2)
s330851983
p03997
u771538568
1574568531
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
import sys args=sys.argv s=((args[1]+args[2])*args[2])/2 print(s)
s258308588
p03997
u123745130
1574366740
Python
Python (3.4.3)
py
Runtime Error
18
2940
119
#include<bits/stdc++.h> using namespace std; int a,b,h; int main{ cin>>a>>b>>h; cout<<(a+b)*h*.5<<endl; return 0; }
s235885954
p03997
u123745130
1574366665
Python
Python (3.4.3)
py
Runtime Error
18
2940
108
#include<bits/stdc++.h> using namespace std; int main{ cin>>a>>b>>h; cout<<(a+b)*h*.5<<endl; return 0; }
s201247691
p03997
u699389067
1574359985
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
a = int(input()) b = int(input()) h = int(input()) print((a + b) * h / / 2)
s262385783
p03997
u699389067
1574359727
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a = input() b = input() h = input() print((a + b) * h / 2)
s907623126
p03997
u864197622
1574083555
Python
Python (3.4.3)
py
Runtime Error
17
2940
137
N = int(input()) S = [1 if a == "I" else -1 for a in input()] ma = 0 a = 0 for i in range(N): a += S[i] ma = max(ma, a) print(ma)
s673725978
p03997
u629560745
1574028378
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a , b , h = [int(input()) for _ in range(3)] printint(((a + b) * h / 2))
s885268011
p03997
u672882146
1573657976
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int, input().split()) print((a+b)*h/2)
s126798258
p03997
u052499405
1573615952
Python
Python (3.4.3)
py
Runtime Error
18
2940
23
print((a + b) * h // 2)
s214363947
p03997
u311636831
1573575669
Python
Python (3.4.3)
py
Runtime Error
17
3064
803
A=input() B=input() C=input() i=0 j=0 k=0 c=0 while(True): if(c==0): if(i>=(len(A)+1)): print("A") exit() if(A[i]=="a"): i+=1 c=0 elif(A[i]=="b"): j+=1 c=1 else: k+=1 c=2 elif(c==1): if(j>=(len(B)+1)): print("B") exit() if(B[j]=="a"): i+=1 c=0 elif(B[j]=="b"): j+=1 c=1 else: k+=1 c=2 else: if(k>=(len(C)+1)): print("C") exit() if(C[k]=="a"): i+=1 c=0 elif(C[k]=="b"): j+=1 c=1 else: k+=1 c=2
s402630735
p03997
u867848444
1572990353
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a,b,h=map(int,input().split()) print(int((a+b)*h/2))
s800323629
p03997
u867848444
1572989986
Python
Python (3.4.3)
py
Runtime Error
18
3060
52
a,b,h=map(int,input().split()) print(int((a+b)*h/2))
s479736510
p03997
u373958718
1572756019
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
a = {i:list(input()) for i in "abc"};b="a" while a[b]: b=a[b].pop(0) print(b.upper())
s525848705
p03997
u143278390
1572745471
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a=int(input()) b=int(input()) h=int(input()) print(int((a+b)*h/2)
s943112651
p03997
u923659712
1572557831
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
a,b,h=map(int,input().split()) print((a+b)*h/2)
s687721950
p03997
u923659712
1572557800
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b,h=map(int,input().split()) print((a+B)*h/2)
s396784199
p03997
u435084726
1572331374
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a,b,h=map(int, input().split()) print((a+b)*h//2)
s077684738
p03997
u435084726
1572331298
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
a,b,h=map(int, input().split()) print((a+b)*h/2)
s911461670
p03997
u435084726
1572331218
Python
PyPy3 (2.4.0)
py
Runtime Error
179
38256
51
a,b,h=map(int, input().split()) print((a+b)*h/2)
s631385967
p03997
u435084726
1572330946
Python
PyPy3 (2.4.0)
py
Runtime Error
161
38256
62
a,b,h=map(int, input().split()) N = (a+b)*h/2 print(int(N))
s810869387
p03997
u435084726
1572330854
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38512
62
a,b,h=map(int, input().split()) N = int((a+b)*h/2) print(N)
s982227349
p03997
u435084726
1572330487
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38256
59
a,b,h=map(int, input().split()) N = ((a+b)*h)/2 print(N)
s847548697
p03997
u435084726
1572330453
Python
PyPy3 (2.4.0)
py
Runtime Error
163
38384
57
a,b,h=map(int, input().split()) N = (a+b)*h/2 print(N)
s538426615
p03997
u895536055
1571512884
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a, b, h = map(int, input().split()) print((a + b) * h / 2)
s632942518
p03997
u895536055
1571512856
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
a, b, h = map(int, imput().split()) print((a + b) * h / 2)