結果

問題 No.722 100×100=1000
ユーザー syosinnsya8
提出日時 2020-04-02 17:17:58
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-06-28 15:09:29
合計ジャッジ時間 2,021 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 20 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())
ans=A*B
n=len(str(A))-1
m=len(str(B))-1

if A % (10**n) == 0 and B%(10**m) == 0:
    ans/=10
    print(int(ans))
elif -99999999>ans or 99999999<ans:
        print('E')
else:
    print(ans)
0