結果

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

ソースコード

diff #

import sys
input = sys.stdin.readline

a, b = map(int, input().split())
ans = 0

if a % 10 == b % 10 == 0:
    if a <= 10 or b <= 10:
        ans = round(a*b)
    else:
        ans = round(a*b/10) 
else:
    ans = round(a*b)
    if abs(ans) > 99999999.9:
        ans = "E"

print(ans)
0