結果
問題 |
No.293 4>7の世界
|
ユーザー |
![]() |
提出日時 | 2016-05-04 13:28:08 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 425 bytes |
コンパイル時間 | 179 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 67,396 KB |
最終ジャッジ日時 | 2024-10-05 06:24:28 |
合計ジャッジ時間 | 2,056 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 15 RE * 5 |
ソースコード
a, b = input().split() if len(a) > len(b): print(a) eixt() elif len(a) < len(b): print(b) exit() for ax, bx in zip(a, b): ax, bx = int(ax), int(bx) if ax == bx: continue if ax == 4 and bx == 7: print(a) exit() elif ax == 7 and bx == 4: print(b) exit() elif ax > bx: print(a) exit() elif ax < bx: print(b) exit()