結果
問題 | No.722 100×100=1000 |
ユーザー |
|
提出日時 | 2018-08-12 15:56:45 |
言語 | Python2 (2.7.18) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 282 bytes |
コンパイル時間 | 1,023 ms |
コンパイル使用メモリ | 7,076 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-12 10:55:59 |
合計ジャッジ時間 | 1,874 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 26 WA * 1 |
ソースコード
#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'