結果
| 問題 | No.201 yukicoderじゃんけん |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-04-16 22:34:24 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 254 bytes |
| 記録 | |
| コンパイル時間 | 352 ms |
| コンパイル使用メモリ | 20,892 KB |
| 実行使用メモリ | 36,248 KB |
| 最終ジャッジ日時 | 2026-04-02 14:02:57 |
| 合計ジャッジ時間 | 2,926 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)