結果

問題 No.441 和か積
ユーザー mkawa2mkawa2
提出日時 2020-01-04 10:57:33
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 131 ms / 1,000 ms
コード長 925 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,896 KB
実行使用メモリ 29,980 KB
最終ジャッジ日時 2023-08-14 19:55:45
合計ジャッジ時間 7,682 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
29,844 KB
testcase_01 AC 131 ms
29,920 KB
testcase_02 AC 129 ms
29,912 KB
testcase_03 AC 131 ms
29,892 KB
testcase_04 AC 127 ms
29,880 KB
testcase_05 AC 123 ms
29,904 KB
testcase_06 AC 123 ms
29,980 KB
testcase_07 AC 124 ms
29,928 KB
testcase_08 AC 125 ms
29,876 KB
testcase_09 AC 125 ms
29,908 KB
testcase_10 AC 129 ms
29,780 KB
testcase_11 AC 131 ms
29,744 KB
testcase_12 AC 126 ms
29,932 KB
testcase_13 AC 123 ms
29,916 KB
testcase_14 AC 125 ms
29,876 KB
testcase_15 AC 126 ms
29,912 KB
testcase_16 AC 123 ms
29,888 KB
testcase_17 AC 124 ms
29,844 KB
testcase_18 AC 123 ms
29,900 KB
testcase_19 AC 124 ms
29,900 KB
testcase_20 AC 129 ms
29,900 KB
testcase_21 AC 129 ms
29,908 KB
testcase_22 AC 127 ms
29,812 KB
testcase_23 AC 128 ms
29,888 KB
testcase_24 AC 126 ms
29,768 KB
testcase_25 AC 126 ms
29,904 KB
testcase_26 AC 126 ms
29,756 KB
testcase_27 AC 125 ms
29,752 KB
testcase_28 AC 123 ms
29,908 KB
testcase_29 AC 124 ms
29,892 KB
testcase_30 AC 126 ms
29,840 KB
testcase_31 AC 125 ms
29,916 KB
testcase_32 AC 127 ms
29,764 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import *
from bisect import *
# from math import *
from collections import *
from heapq import *
from random import *
from decimal import *
import numpy as np
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def MI1(): return map(int1, sys.stdin.readline().split())
def MF(): return map(float, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI1(): return list(map(int1, sys.stdin.readline().split()))
def LF(): return list(map(float, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
dij = [(0, 1), (1, 0), (0, -1), (-1, 0)]

def main():
    a,b=MI()
    if a+b>a*b:
        print("S")
    elif a+b<a*b:
        print("P")
    else:
        print("E")
main()
0