結果

問題 No.570 3人兄弟(その1)
ユーザー machoniumpmachoniump
提出日時 2021-03-24 17:17:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 949 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 10,816 KB
実行使用メモリ 10,420 KB
最終ジャッジ日時 2023-08-17 22:29:33
合計ジャッジ時間 1,057 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
10,376 KB
testcase_01 AC 33 ms
10,376 KB
testcase_02 AC 33 ms
10,392 KB
testcase_03 AC 32 ms
10,304 KB
testcase_04 AC 32 ms
10,256 KB
testcase_05 AC 33 ms
10,344 KB
testcase_06 AC 33 ms
10,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import deque, defaultdict
from copy import deepcopy
from bisect import bisect_left, bisect_right, insort_left, insort_right
from heapq import heapify, heappop, heappush
from itertools import product, permutations, combinations, combinations_with_replacement
from functools import reduce
from math import gcd, sin, cos, tan, asin, acos, atan, degrees, radians, ceil, floor, log, sqrt, ceil, floor, pi, hypot
from string import ascii_lowercase
from decimal import Decimal
sys.setrecursionlimit(1000000)
INF = 10**18
MOD = 10**9+7
# MOD = 998244353
yes="Yes"
no="No"
from random import randint
def II():return int(input())
def SI():return str(input())
def MI():return map(int,input().split())
def MS():return map(str,input().split())
def LI():return list(map(int,input().split()))
def LS():return list(map(str,input().split()))
a=[II() for i in range(3)]
b=sorted(a,reverse=True)
s="ABC"
for i in b:
    print(s[a.index(i)])
0