結果

問題 No.201 yukicoderじゃんけん
ユーザー trineutrontrineutron
提出日時 2023-04-15 00:35:45
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 254 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-04-18 21:58:10
合計ジャッジ時間 1,943 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 27 ms
10,112 KB
testcase_01 AC 28 ms
10,368 KB
testcase_02 AC 27 ms
10,240 KB
testcase_03 AC 31 ms
10,240 KB
testcase_04 AC 31 ms
10,112 KB
testcase_05 AC 29 ms
10,368 KB
testcase_06 AC 26 ms
10,496 KB
testcase_07 AC 28 ms
10,240 KB
testcase_08 AC 28 ms
10,240 KB
testcase_09 AC 27 ms
10,368 KB
testcase_10 AC 26 ms
10,112 KB
testcase_11 AC 26 ms
10,368 KB
testcase_12 AC 26 ms
10,368 KB
testcase_13 AC 26 ms
10,368 KB
testcase_14 AC 26 ms
10,240 KB
testcase_15 AC 25 ms
10,240 KB
testcase_16 RE -
testcase_17 RE -
testcase_18 RE -
testcase_19 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

sa, pa, xa = input().split()
sb, pb, xb = input().split()
if len(pa) > len(pb):
    print(sa)
    exit()
elif len(pa) < len(pb):
    print(sb)
    exit()
pa = int(pa)
pb = int(pb)
if pa > pb:
    print(sa)
elif pa < pb:
    print(sb)
else:
    print(-1)
0