結果
問題 | No.201 yukicoderじゃんけん |
ユーザー |
|
提出日時 | 2017-04-16 22:34:24 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-07-19 04:06:31 |
合計ジャッジ時間 | 1,431 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 WA * 6 |
ソースコード
s=list(input().split()) k=list(input().split()) if len(s[1])>len(k[1]): print(s[0]) elif len(s[1])<len(k[1]): print(k[0]) else: if s[1][0]>k[1][0]: print(s[0]) elif s[1][0]<k[1][0]: print(k[0]) else: print(-1)