結果
| 問題 |
No.722 100×100=1000
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-12-10 15:03:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 306 bytes |
| コンパイル時間 | 139 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-12 12:14:43 |
| 合計ジャッジ時間 | 1,942 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 26 WA * 1 |
ソースコード
A, B = map(int, input().split())
a = set(str(abs(A)))
b = set(str(abs(B)))
if len(a) < 3 and len(b) < 3 and A % 10 == 0 and B % 10 == 0 and (A > 99 or A < -99) and (B > 99 or B < -99):
X = A * B // 10
else:
if -99999999 <= A * B <= 99999999:
X = A * B
else:
X = 'E'
print(X)