結果

問題 No.722 100×100=1000
ユーザー akitsugu777
提出日時 2019-12-10 15:00:09
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 302 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-12 12:14:38
合計ジャッジ時間 2,005 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 25 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())

a = set(str(abs(A)))
b = set(str(abs(B)))

if len(a) < 3 and len(b) 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)
0