結果

問題 No.722 100×100=1000
ユーザー Guest
提出日時 2018-11-07 17:57:02
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 218 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-12 11:14:51
合計ジャッジ時間 2,007 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 20 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

def calc(a,b):
	ans=a*b
	if -99999999 > ans or 99999999 < ans:
		print('E')
	else:
		print(int(ans))

def mental(a,b):
	ans=(a*b)/10
	print(int(ans))

if __name__ == '__main__':
	a,b=input().split(' ')
	if int(a)%10==0 and int(b)%10==0:
			mental(int(a),int(b))
	else:
		calc(int(a),int(b))
0