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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s974452752 | p03826 | u668352391 | 1577949102 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | a,b,c,d = map(lambda x: x, input().split())
if a*b <= c*d:
print(c*d)
else:
print(a*b) |
s036796894 | p03826 | u652569315 | 1577941436 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a,b,c,d=map(int,input().split())
x=a*b,y=c*d
if x>=y:
print(x)
else:
print(y) |
s452188197 | p03826 | u401949008 | 1577932241 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a,b,c,d=map(int,input().split())
if a*b>=c*d:
print(a*b)
else:
primt(c*d) |
s799190785 | p03826 | u167254893 | 1576960813 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | A B C D = input()
if A*B>C*D:
print(A*B)
elif C*D>A*B:
print(C*D)
elif A*B==C*D:
print(A*B) |
s932708898 | p03826 | u477343425 | 1576360850 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 118 | a,b,c,d = map(int, input().split())
rectangle1 = a * b
rectangel2 = c * d
ans = max(rectangle1, rectangle2)
print(ans) |
s226278906 | p03826 | u994521204 | 1576096595 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 51 | a,b,c,d=list(map(int,input()))
print(max(a*b, c*d)) |
s979934981 | p03826 | u717387812 | 1575951644 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 38384 | 616 | from sys import stdin
def fetch_one_line():
return stdin.readline().rstrip()
def fetch_int_input():
return [int(s) for s in fetch_one_line().split()]
def fetch_inputs(times):
return [fetch_one_line() for _ in range(times)]
def fetch_int_inputs(times):
return [[int(s) for s in fetch_one_line()] for _ in range(times)]
sum = 0
change = {"I": 1, "D": -1}
length = int(fetch_one_line())
target = fetch_one_line()
records = [0 for _ in range(length)]
for i, t in enumerate(target):
sum += change[t]
records[i] = sum
max_val = max(records)
if max_val < 0:
max_val = 0
print(max_val) |
s738455472 | p03826 | u717387812 | 1575951584 | Python | PyPy3 (2.4.0) | py | Runtime Error | 185 | 38384 | 615 | from sys import stdin
def fetch_one_line():
return stdin.readline().rstrip()
def fetch_int_input():
return [int(s) for s in fetch_one_line().split()]
def fetch_inputs(times):
return [fetch_one_line() for _ in range(times)]
def fetch_int_inputs(times):
return [[int(s) for s in fetch_one_line()] for _ in range(times)]
sum = 0
change = {"I": 1, "D": -1}
length = int(fetch_one_line())
target = fetch_one_line()
records = [0 for _ in range(length)]
for i, t in enumerate(target):
sum += change[t]
records[i] = sum
max_val = max(records)
if max_val < 0:
max_val = 0
print(max_val)
|
s193476014 | p03826 | u717387812 | 1575951348 | Python | PyPy3 (2.4.0) | py | Runtime Error | 183 | 38256 | 615 | from sys import stdin
def fetch_one_line():
return stdin.readline().rstrip()
def fetch_int_input():
return [int(s) for s in fetch_one_line().split()]
def fetch_inputs(times):
return [fetch_one_line() for _ in range(times)]
def fetch_int_inputs(times):
return [[int(s) for s in fetch_one_line()] for _ in range(times)]
sum = 0
change = {"I": 1, "D": -1}
length = int(fetch_one_line())
target = fetch_one_line()
records = [0 for _ in range(length)]
for i, t in enumerate(target):
sum += change[t]
records[i] = sum
max_val = max(records)
if max_val < 0:
max_val = 0
print(max_val)
|
s008507103 | p03826 | u668715715 | 1575041562 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | a,b,c,d = map(int,input().split())
if a*b > c*d:
print(a*b)
else:
prnt(c*d) |
s830037554 | p03826 | u616188005 | 1574787155 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 52 | a,b,c,d=map(int,input().split())
print(max[a*b,c*d]) |
s062035579 | p03826 | u088974156 | 1574644524 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 51 | a,b,c,d=map(int,input().split())
print(max(a*b,c*d) |
s148510878 | p03826 | u101181042 | 1574043710 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 222 | #include <iostream>
using namespace std;
int main(){
int a,b,c,d;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
if(a*b > c*d){
cout << a*b << endl;
}else{
cout << c*d << endl;
}
} |
s399898391 | p03826 | u663438907 | 1573188200 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 57 | A, B, C, D = map(int, input.split())
print(max(A*B, C*D)) |
s152681773 | p03826 | u932716679 | 1572464469 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 230 | n, A, B = (int(x) for x in input().split())
x = list(map(int,input().split()))
#print(x)
s = 0
for i in range(n-1):
l = (x[i+1] - x[i])*A
if l <= B:
s = s +l
print(s)
else:
s = s + B
print(s)
|
s153641633 | p03826 | u968846084 | 1571287116 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 128 | n=int(input())
s=input()
a=0
b=0
for i in range(n-1):
if s[i]=="I":
a=a+1
if a>b:
b=a
else:
a=a-1
print(b) |
s965568303 | p03826 | u117193815 | 1571081254 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | l=list(map(int, input().split()))
print(max(l[0]*l[1],l[2]*l[3])
|
s849615363 | p03826 | u117193815 | 1571081208 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | l=list(map(int, input().split())
print(max(l[0]*l[1],l[2]*l[3]) |
s311025965 | p03826 | u524747996 | 1570201142 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | A, B, C, D = map(int, input().split())
if A*B >= C*D:
print(A*B)
if C*D>= A*B: |
s737345906 | p03826 | u623349537 | 1569890673 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 65 | A, B, C, D = map(int, input().split())
print(max(A*B), max(C* D)) |
s194718541 | p03826 | u536177854 | 1568919562 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | a,b,c,d=map(int.input().split())
if a*b>=c*d:
print(a*b)
else:
print(c*d) |
s444304041 | p03826 | u634461820 | 1568683351 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38256 | 316 | import sys
import math
import numpy as np
MAX_INT = int(10e12)
MIN_INT = -MAX_INT
mod = 1000000007
sys.setrecursionlimit(1000000000)
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()
A,B,C,D = IL()
print(max(A*B, C*D)) |
s399358008 | p03826 | u482808969 | 1568659202 | Python | PyPy3 (2.4.0) | py | Runtime Error | 178 | 38512 | 51 | a, b, c, d = map(int, input())
print(max(a*b, c*d)) |
s745929182 | p03826 | u870518235 | 1568585915 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | # -*- coding: utf-8 -*-
A, B, C, D = map(int, input().split)
if A*B >= C*D:
print(A*B)
else:
print(C*D)
|
s314301415 | p03826 | u870518235 | 1568584902 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 105 | # -*- coding: utf-8 -*-
A, B, C, D = int(raw_input())
if A*B >= C*D:
print A*B
else:
print C*D
|
s013246420 | p03826 | u870518235 | 1568584815 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | # -*- coding: utf-8 -*-
A, B, C, D = int(raw_input())
E = A*B-C*D
if E >= 0:
print A*B
else:
print C*D
|
s589814572 | p03826 | u870518235 | 1568584704 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | # -*- coding: utf-8 -*-
A, B, C, D = int(raw_input())
E = A*B-C*D
if E >= 0:
print A*B
else E < 0:
print C*D
|
s187252147 | p03826 | u871596687 | 1568242613 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 130 | a,b,c,d = map(int(),input().split())
if a*b == c*d:
print(a*b)
if a*b =< c*d:
print(c*d)
if a*b >= c*d:
print(a*b)
|
s069116570 | p03826 | u228223940 | 1567210068 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | a,b,c,d = map(int,input())
print(max(a*b,c*d)) |
s705343430 | p03826 | u703890795 | 1566459417 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 20 | print(max(A*B, C*D)) |
s888841286 | p03826 | u076498277 | 1565969059 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 164 | li = list(map(int,input().split()))
A = li[0]
B = li[1]
C = li[2]
D = li[3]
if A * B > C * D:
print(A * B)
elif A * B < C * D:
print(C * D)
else
print(A * B) |
s558760667 | p03826 | u558764629 | 1565483749 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 47 | A,B,C,D = map(int,input())
print(max(A*B,C*D)) |
s929592223 | p03826 | u106103668 | 1564930226 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b,c,d = map(int,input().split())
e,f = a*b,c*d
if e<f: print(f)
else: print(e) |
s209723515 | p03826 | u982594421 | 1564353549 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 55 | a, b, c, d = map(int, input())
print(max(a * b, c * d)) |
s488922000 | p03826 | u602677143 | 1563484784 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 53 | a,b,c,d = map(int,input().split())
print(max(a*b,c*d) |
s700946703 | p03826 | u675073679 | 1563483928 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 143 | A = int(input())
B = int(input())
C = int(input())
D = int(input())
if A*B > C*D:
print(A*B)
elif A*B < C*D:
print(C*D)
else:
print(A*B) |
s626474350 | p03826 | u800258529 | 1563070390 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 47 | a,b,c,d=map(int,open(0))
print(max([a*b,c*d]))
|
s715376482 | p03826 | u090994275 | 1561644652 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 54 | a,b,c,d=map(int,input().parse())
print(max([a*b,c*d])) |
s898343003 | p03826 | u090994275 | 1561644590 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 52 | a,b,c,d=map(int,input().parse())
print(max(a*b,c*d)) |
s388956102 | p03826 | u314050667 | 1561493438 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 50 | a,b,c,d = map(int, input())
print(max([a*b,c*d])) |
s368813437 | p03826 | u434148038 | 1560985251 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 89 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(max(a*b, c*d)) |
s933600066 | p03826 | u434148038 | 1560984868 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 117 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a*b > c*d:
print(a*b)
else:
print(c*d) |
s100270208 | p03826 | u371409687 | 1560350098 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 52 | A,B,C,D=map(int,input().split())
print(map(A*B,C*D)) |
s674484716 | p03826 | u906428167 | 1559182768 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | a,b,c,d = input().split()
print(max(a*b,c*d)) |
s393336662 | p03826 | u625257971 | 1558673613 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | input_n=input()
input_s=input()
tmp=0
x = 0
for i in input_s:
if i == "I":
x=x+1
else:
x=x-1
tmp=max(tmp,x)
print(tmp) |
s120103741 | p03826 | u721425712 | 1558194133 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 52 | a, b, c, d = map(int, input())
print(max(a*b, c*d)) |
s041826824 | p03826 | u733337827 | 1556921177 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 214 | N = int(input())
K = eval("*".join(map(str, list(range(1, N+1)))))
ans = 1
for i in range (2, N + 1):
num = 0
while K % i == 0:
num += 1
K //= i
ans *= (num + 1)
print(ans % (10**9 + 7)) |
s847982255 | p03826 | u732870425 | 1556387440 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 58 | a,b,c,d = map(int, input())
print(a*b if c*d<a*b else c*d) |
s213702716 | p03826 | u475675023 | 1556324760 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 64 | a,b,c,d=map(iint,input().split())
print(a*b if a*b>c*d else c*d) |
s215063377 | p03826 | u483640741 | 1556147933 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 138 | a=input()
b=input()
c=input()
d=input()
x=int(a)*int(b)
y=int(c)*int(d)
if x>y:
print(x)
elif x<y:
print(y)
else:
print(x) |
s215786507 | p03826 | u382431597 | 1555731537 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 519 | #include <bits/stdc++.h>
#define ll long long
#define INIT std::ios::sync_with_stdio(false);std::cin.tie(0);
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) FOR(i,0,n)
#define dump(x) cerr << #x << " = " << (x) << endl;
#define debug(x) cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << endl;
using namespace std;
int main() {
INIT;
int a, b,c,d;
cin >> a >> b >> c >> d;
if(a*b > c*d){
cout << a*b << endl;
}else{
cout << c*d << endl;
}
return 0;
} |
s920189365 | p03826 | u957872856 | 1555437112 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | a,b,c,d = map(int.input().split())
s1 = a*b
s2 = c*d
if s1 >= s2:
print(s1)
else:
print(s2) |
s466132944 | p03826 | u288040231 | 1554685610 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 202 | # A,B,C,D = int(input()) for i in range(4)
A = int(input())
B = int(input())
C = int(input())
D = int(input())
AB = A * B
CD = C * D
if AB > CD:
print(AB)
elif CD > AB:
print(CD)
else:
print(AB)
|
s814475818 | p03826 | u288040231 | 1554685339 | Python | Python (3.4.3) | py | Runtime Error | 22 | 2940 | 203 | # A,B,C,D = int(input()) for i in range(4)
A = int(input())
B = int(input())
C = int(input())
D = int(input())
AB = A * B
CD = C * D
if AB == CD:
print(AB)
else:
print(AB) if AB > CD else print(CD)
|
s514598283 | p03826 | u288040231 | 1554685201 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 132 | A,B,C,D = int(input()) for i in range(4)
AB = A * B
CD = C * D
if AB == CD:
print(AB)
else:
print(AB) if AB > CD else print(CD) |
s232544338 | p03826 | u363610900 | 1554626689 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 59 | A, B, C, D = map(int, input().split())
print(max(A*B. C*D)) |
s099040042 | p03826 | u748311048 | 1554300069 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 78 | a,b,c,d=map(str, input().split())
if a*b>=c*d:
print(a*b)
else:
print(c*d) |
s802731209 | p03826 | u748311048 | 1554299995 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 75 | a,b,c,d=map(str, input().split())
print(a*b*int(a*b>=c*d)+c*d*int(a*b<c*d)) |
s801346837 | p03826 | u912862653 | 1554054384 | Python | Python (3.4.3) | py | Runtime Error | 19 | 2940 | 90 | A, B, C, D = map(list(int, input().split()))
if A*B >= C*D:
print(A*B)
else:
print(C*D) |
s293609477 | p03826 | u082861480 | 1553799373 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 62 | a,b,c,d = map(int, input().split())
print(a*b if a*b > d*c els |
s731726488 | p03826 | u366959492 | 1552960276 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 | a,b,c,d = int(input().split())
s1 = a*b
s2 = c*d
if s1>=s2:
print(s1)
else:
print(s2)
|
s140287759 | p03826 | u366959492 | 1552959985 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
s1 = a*b
s2 = c*d
if s1>=s2:
print(s1)
else:
print(s2)
|
s342960966 | p03826 | u363610900 | 1551844099 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | A, B, C, D = map(int, input().split())
list_area = [A * B, C * D]
print(list.max(list_area)) |
s402558745 | p03826 | u403984573 | 1551302849 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | A,B,C,D=map(int,input().spliT())
if A*B<C*D:
print(C*D)
else :
print(A*B) |
s188036935 | p03826 | u083980875 | 1551287629 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 99 | l=map(int,raw_input().split())
x=(l[0]*i[1])
y=(l[2]*l[3])
if x>=y:
print(x)
else:
print(y) |
s223572143 | p03826 | u083980875 | 1551287455 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 105 | A,B,C,D=map(int,input().split().split().split())
x=(A*B)
y=(C*D)
if x>=y:
print(x)
else:
print(y) |
s909724059 | p03826 | u717001163 | 1550292441 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | import math;
a,b,c,d=map(int,input().split())
print(math.max(a*b,c*d)) |
s428757123 | p03826 | u726439578 | 1546065074 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 81 | a,b,c,d=map(int,input().split())
if a*b>=c*d:
input(a*b)
else:
input(c*d) |
s964581729 | p03826 | u726439578 | 1546065043 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 80 | a,b,c,d=map(int,input().split())
if a*b>c*d:
input(a*b)
else:
input(c*d) |
s052089114 | p03826 | u726439578 | 1546065009 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 80 | a,b,c,d=map(int,input().split())
if a*b>c*d:
input(a*b)
else:
input(c*d) |
s843471454 | p03826 | u726439578 | 1546064943 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 80 | a,b,c,d=map(int,input().split())
if a*b>c*d:
input(a*b)
else:
input(c*d) |
s958360579 | p03826 | u371467115 | 1545941727 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 135 | n=input()
s=list(input())
x=0
l=[]
for i in s:
if i=="I":
x+=1
elif i=="D":
x-=1
l.append(x)
print(max(l))
|
s591331068 | p03826 | u928784113 | 1544981813 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 173 | # -*- coding: utf-8 -*-
N = int(input())
S = str(input())
a = []
for i in range(N):
b = S[0:i+1].count("I")
c = S[0:i+1].count("D")
M = b-c
a.append(M)
print(max(a)) |
s704423889 | p03826 | u272377260 | 1544880767 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 133 | a, b, c, d = map(int, input().split())
if a * b > c * d:
print(a * b)
elif a * b < c * d:
pritn(c * d)
else:
print(a * b) |
s213931285 | p03826 | u272377260 | 1544880700 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 133 | a, b, c, b = map(int, input().split())
if a * b > c * d:
print(a * b)
elif a * b < c * d:
pritn(c * d)
else:
print(a * b) |
s656891157 | p03826 | u272377260 | 1544880662 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 133 | a, b, c, b = map(int, input().split())
if a * b > c * b:
print(a * b)
elif a * b < c * b:
pritn(c * d)
else:
print(a * b) |
s691305605 | p03826 | u272377260 | 1544880623 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 133 | a, b, c, b = map(int, input().split())
if a * b > c * b:
print(a * b)
elif a * b < c * b:
pritn(c * b)
else:
print(a * b) |
s198017836 | p03826 | u371467115 | 1544848046 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3068 | 53 | a,b,c,d=map(int,inputa().split())
print(max(a*b,c*d)) |
s314226402 | p03826 | u371467115 | 1544847870 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | A,B,C,D=map(int,input().split())
sone=A*B
stwo=C*D
if sone>stwo:
print(sone)
elif sone<stwo:
print(stwo):
elif sone==stwo:
print(sone) |
s670323171 | p03826 | u129978636 | 1544638275 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 52 | a,b,c,d=map(int,inpyt().split())
print(max(a*b,c*d)) |
s199155115 | p03826 | u669382434 | 1544473497 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 52 | print(max(int(input())*int(input()) for i in [1,1])) |
s935413036 | p03826 | u445511055 | 1544331656 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 166 | # -*- coding: utf-8 -*-
def main():
"""Function."""
a, b, c, d = map(str, input().split())
print(max(a*b, c*d))
if __name__ == "__main__":
main()
|
s579572775 | p03826 | u111365959 | 1542986346 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 134 | input()
tmp = x = 0
for a in input():
x += int(a.replace('I','1').replace('D','-1'))
if tmp < x:
tmp = x
print(max([0,tmp]))
|
s992790391 | p03826 | u111365959 | 1542986334 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | input()
tmp = x = 0
for a in input():
x += int(a.replace('I','1').replace('D','-1'))
if tmp < x:
tmp = x
print(max([,tmp]))
|
s428923637 | p03826 | u111365959 | 1542984598 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 89 | a,b,c,d = [int(x) for x in input().sprit()]
print(a*b) if (a*b) >= (c*d) else print(c*d)
|
s845324465 | p03826 | u111365959 | 1542984576 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 87 | a,b,c,d = [int(x) for x in input.sprit()]
print(a*b) if (a*b) >= (c*d) else print(c*d)
|
s151608878 | p03826 | u111365959 | 1542984512 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | a,b,c,d = [int(x) for x in input.split()]
print(a*b) if (a*b) >= (c*d) else print(c*d) |
s566534942 | p03826 | u869728296 | 1541792313 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 126 | a=input().strip().split(" ")
b=[int(i) for i in a]
if(a[0]*a[1]>a[2]*a[3]):
print(a[0]*a[1])
else:
print(a[2]*a[3])
|
s265631326 | p03826 | u637824361 | 1540856091 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 64 | a, b, c, d = input().split()
L = [a*b, c*d]
L.sort()
print(L[1]) |
s438405763 | p03826 | u131405882 | 1540431075 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | num = list(map(int, input().split()))
if num[0]*num[1] <= num[2]*num[3]:
print(num[2]*num[3])
else:
pritn(num[0]*num[1]) |
s591059633 | p03826 | u052332717 | 1539696318 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 129 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
if a*b >= c*d:
print(a*b)
elif c*d > a*b:
print(c*d) |
s482260767 | p03826 | u052332717 | 1539696229 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
li = [a*b, c*d]
print(max(li)) |
s959944929 | p03826 | u052332717 | 1539696143 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | a = int(input())
b = int(input())
c = int(input())
d = int(input())
li = [a*b, c*d]
print(max(li)) |
s040190940 | p03826 | u328755070 | 1538760032 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 55 | a, b, c, d = map(int, input())
print(max(a * b, c * d)) |
s229367984 | p03826 | u102126195 | 1536594020 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | A, B, C, D = map(int, input().split())
print(max[A * B, C * D]) |
s612376683 | p03826 | u601082779 | 1535995629 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 55 | a,b,c,d=[int(input())for i in[0]*4];print(max(a*b,c*d)) |
s723848388 | p03826 | u052347048 | 1534422582 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | a,b = int(input()),input()
j,l=0,[0]
for i in b:
if i == "I":
j+=1
else:
j-=1
l.append(j)
print(max(l)) |
s444124029 | p03826 | u052347048 | 1534422505 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | a,b = int(input()),input()
j,l=0,[0]
for i in b:
if i == "I":j+=1
else:j-=1
l.append(j)
print(max(l)) |
s562051518 | p03826 | u631277801 | 1532270232 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 712 | import math
prime = {}
N = int(input())
if N==1:
print(1)
exit()
isPrime = [True]*(N+1)
isPrime[0] = False
isPrime[1] = False
for i in range(2,int(math.sqrt(N))+2):
if isPrime[i]:
n = 2*i
while n<=N:
isPrime[n] = False
n += i
for i in range(N+1):
if isPrime[i]:
prime[i] = 0
key_list = list(prime.keys())
for num in range(2,N+1):
res = num
idx = 0
while res>1:
k = key_list[idx]
if res%k == 0:
prime[k] += 1
res = res//k
else:
idx += 1
ans = 1
for v in prime.values():
ans *= (v+1)
ans = ans % (10**9+7)
if ans==0:
ans = 1
print(ans)
|
s885633313 | p03826 | u095969144 | 1530067211 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 140 | i = int(input())
s = input()
ans = 0
for x in range(len(s)) :
if s[x] == "I" :
ans += 1
else :
ans -= 1
print(ans) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.