結果

問題 No.722 100×100=1000
ユーザー pluto77pluto77
提出日時 2018-08-12 15:56:45
言語 Python2
(2.7.18)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 282 bytes
コンパイル時間 492 ms
コンパイル使用メモリ 6,732 KB
実行使用メモリ 6,044 KB
最終ジャッジ日時 2023-08-02 15:13:08
合計ジャッジ時間 1,651 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,928 KB
testcase_01 AC 11 ms
5,988 KB
testcase_02 AC 11 ms
5,840 KB
testcase_03 AC 11 ms
5,820 KB
testcase_04 AC 11 ms
5,844 KB
testcase_05 AC 11 ms
5,928 KB
testcase_06 AC 11 ms
5,996 KB
testcase_07 AC 10 ms
5,868 KB
testcase_08 AC 11 ms
6,000 KB
testcase_09 AC 11 ms
5,916 KB
testcase_10 AC 11 ms
5,984 KB
testcase_11 AC 10 ms
5,988 KB
testcase_12 AC 11 ms
6,000 KB
testcase_13 AC 10 ms
5,928 KB
testcase_14 AC 10 ms
5,900 KB
testcase_15 AC 10 ms
5,968 KB
testcase_16 AC 11 ms
5,904 KB
testcase_17 AC 11 ms
5,868 KB
testcase_18 AC 11 ms
6,044 KB
testcase_19 AC 11 ms
5,820 KB
testcase_20 AC 11 ms
6,044 KB
testcase_21 AC 10 ms
6,032 KB
testcase_22 AC 11 ms
5,984 KB
testcase_23 AC 11 ms
5,916 KB
testcase_24 AC 11 ms
5,936 KB
testcase_25 AC 11 ms
6,044 KB
testcase_26 AC 11 ms
5,832 KB
testcase_27 AC 11 ms
5,856 KB
testcase_28 AC 11 ms
5,984 KB
testcase_29 AC 11 ms
5,992 KB
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki722

a,b=map(int,raw_input().split())
x,y=abs(a),abs(b)
sa,sb=str(x),str(y)
if x<=10 or y<=10:
 print a*b
elif 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