結果

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

ソースコード

diff #

# No.722 100×100=1000
a, b = [int(s) for s in input().split()]

if a % 100 == 0 and b % 100 == 0 and len([s for s in str(a) if s != '0']) == 1 and len([s for s in str(b) if s != '0']) == 1:
    print(a * b // 10)
else:
    print(a * b if -99999999 <= a * b <= 99999999 else 'E')
0