Submission #4337386


Source Code Expand

#!usr/bin/env python3
from collections import defaultdict
import math
import bisect
import random
def LI(): return list(map(int, input().split()))
def II(): return int(input())
def LS(): return input().split()
def S(): return input()
def IIR(n): return [II() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
mod = 1000000007

# A
x,y = LI()
print(max(x,y))

# B
"""
w = S()
for i in range(len(w)-1):
    if w[i] not in list("aiueo"):
        print(w[i],end = "")
if w[-1] not in list("aiueo"):
    print(w[-1])
else:
    print()
"""

# C
"""
x,y,a,b,c,d = LI()
print(abs((a-x)*(d-y)-(b-y)*(c-x))/2)
"""
# D
"""
n,m = LI()
f = [[0 if i != j else 1 for j in range(n)] for i in range(n)]
for i in range(m):
    x,y = LI()
    x -= 1
    y -= 1
    f[x][y] = 1
    f[y][x] = 1
bi = [bin(i)[2:] for i in range(1,2**n)]

li = []
for i in range(2**n-1):
    a = []
    for j in range(len(bi[i])):
        if bi[i][len(bi[i])-1-j] == "1":
            a.append(j)
    li.append(a)

ans = 0
for l in li:
    st = False
    for i in range(1,len(l)):
        for j in range(i):
            if not f[l[i]][l[j]]:
                st = True
                break
        if st:
            break
    if not st:
        ans = max(ans,len(l))
print(ans)
"""

Submission Info

Submission Time
Task A - 正直者
User dn6049949
Language PyPy3 (2.4.0)
Score 100
Code Size 1366 Byte
Status AC
Exec Time 188 ms
Memory 38640 KB

Judge Result

Set Name all
Score / Max Score 100 / 100
Status
AC × 27
Set Name Test Cases
all 00_sample_01.txt, 00_sample_02.txt, kensho_diff01, kensho_diff02, kensho_diff03, kensho_diff04, kensho_diff05, kensho_min-max01, kensho_min-max02, kensho_min-max03, kensho_min-max04, kensho_min-max05, kensho_min-max06, kensho_min-max07, kensho_min-max08, kensho_min-max09, kensho_min-max10, kensho_rand01, kensho_rand02, kensho_rand03, kensho_rand04, kensho_rand05, kensho_rand06, kensho_rand07, kensho_rand08, kensho_rand09, kensho_rand10
Case Name Status Exec Time Memory
00_sample_01.txt AC 175 ms 38512 KB
00_sample_02.txt AC 176 ms 38512 KB
kensho_diff01 AC 175 ms 38512 KB
kensho_diff02 AC 175 ms 38512 KB
kensho_diff03 AC 175 ms 38512 KB
kensho_diff04 AC 177 ms 38512 KB
kensho_diff05 AC 176 ms 38512 KB
kensho_min-max01 AC 176 ms 38512 KB
kensho_min-max02 AC 177 ms 38512 KB
kensho_min-max03 AC 176 ms 38512 KB
kensho_min-max04 AC 176 ms 38512 KB
kensho_min-max05 AC 177 ms 38512 KB
kensho_min-max06 AC 175 ms 38512 KB
kensho_min-max07 AC 175 ms 38512 KB
kensho_min-max08 AC 176 ms 38640 KB
kensho_min-max09 AC 177 ms 38512 KB
kensho_min-max10 AC 181 ms 38512 KB
kensho_rand01 AC 178 ms 38512 KB
kensho_rand02 AC 188 ms 38512 KB
kensho_rand03 AC 181 ms 38512 KB
kensho_rand04 AC 181 ms 38512 KB
kensho_rand05 AC 183 ms 38512 KB
kensho_rand06 AC 174 ms 38512 KB
kensho_rand07 AC 187 ms 38512 KB
kensho_rand08 AC 187 ms 38512 KB
kensho_rand09 AC 182 ms 38512 KB
kensho_rand10 AC 183 ms 38640 KB