結果

問題 No.722 100×100=1000
ユーザー motor_radial
提出日時 2019-08-19 19:56:46
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 289 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-29 19:47:43
合計ジャッジ時間 2,090 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

import re
A,B=map(int,input().split())
S=re.compile(r'^-?[1-9]0{2,}$')
if S.findall(str(A))!=[] and S.findall(str(B))!=[]:
    print(int((A*B)*0.1))
elif abs(A*B)<=99999999:
    print(A*B)
else:
    print("E")
0