結果
問題 | No.293 4>7の世界 |
ユーザー |
|
提出日時 | 2021-07-07 11:46:02 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 270 bytes |
コンパイル時間 | 103 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-01 12:19:33 |
合計ジャッジ時間 | 1,678 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 14 WA * 6 |
ソースコード
A, B = input().split()ans = AAl, Bl = len(A), len(B)if Al < Bl:ans = Bif Al == Bl:for i in range(Al):if A[i] == '7' and B[i] == '4':ans = Belif (A[i] != '4' or B[i] != '7') and A[i] < B[i]:ans = Bprint(ans)