結果

問題 No.722 100×100=1000
ユーザー gma712
提出日時 2018-08-21 23:45:18
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 365 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-12 10:59:51
合計ジャッジ時間 1,934 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 24 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding:utf-8

def main():
    l,m = map(int,input().split(' '))
    print(cul(l,m))

def cul(a,b):
    ans = a * b
    if (a<=-100 or 100<=a) and (b<=-100 or 100<=b) and ans % 10000 == 0:
        ans //= 10
        return ans    
    elif ans <= -100000000 or ans >= 100000000:
        return 'E'
    else:
        return ans

if __name__ == '__main__':
    main()
0