結果

問題 No.722 100×100=1000
コンテスト
ユーザー bellangeldindon
提出日時 2019-05-10 14:00:46
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 259 bytes
記録
コンパイル時間 241 ms
コンパイル使用メモリ 77,244 KB
最終ジャッジ日時 2025-12-04 01:43:02
ジャッジサーバーID
(参考情報)
judge1 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 19 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

A, B = raw_input().split()
flag = 0
for i in range(1, len(A)):
	if A[i] != '0': flag = 1
for i in range(1, len(B)):
	if B[i] != '0': flag = 1
if flag == 0:
	print int(A)*int(B)/10
else:
	rslt = int(A)*int(B)
	if len(str(rslt)) > 8: print 'E'
	else: print rslt
0