結果

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

ソースコード

diff #

def check(n) :
    return abs(n) <= 99999999

def f(n) :
    n = abs(n)
    s = str(n)
    c = s.count('0')
    l = len(s)
    if c == l-1 and c >= 2 :
        return True
    else :
        return False

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

if f(a) and f(b) :
    print(a*b//10)
elif check(a*b) :
    print(a*b)
else :
    print("E")
0