結果

問題 No.722 100×100=1000
ユーザー pluto77
提出日時 2018-08-12 15:48:38
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 250 bytes
コンパイル時間 893 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-12 10:55:56
合計ジャッジ時間 2,375 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 21 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki722

a,b=map(int,raw_input().split())
x,y=abs(a),abs(b)
sa,sb=str(x),str(y)
if sa[0]!='0' and sb[0]!='0' and sa.count('0')==len(sa)-1 and sb.count('0')==len(sb)-1:
 print a*b/10
else:
 if -99999999<=a*b<=99999999:
  print a*b
 else:
  print 'E'
0