結果

問題 No.722 100×100=1000
ユーザー matrie
提出日時 2020-12-18 22:05:58
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 289 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-12-29 19:59:49
合計ジャッジ時間 2,247 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

s=input()
a,b=map(int,s.split())
if a*b==0: i,j=0,0
else: i,j=map(int,s.replace('0','').split())
print(a*b//10 if a%100==b%100==0 and -10<i<10 and -10<j<10 else a*b if -10**8<a*b<10**8 else 'E')
0