結果
| 問題 | 
                            No.722 100×100=1000
                             | 
                    
| コンテスト | |
| ユーザー | 
                             _KingdomOfMoray
                         | 
                    
| 提出日時 | 2020-01-04 18:58:28 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 584 bytes | 
| コンパイル時間 | 115 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 11,008 KB | 
| 最終ジャッジ日時 | 2024-11-22 21:13:25 | 
| 合計ジャッジ時間 | 2,214 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 WA * 2 | 
| other | AC * 25 WA * 2 | 
ソースコード
import math
input_list = list(map(int,input().split()))
a, b = input_list
len_a = len(str(a))
len_b = len(str(b))
if '-' in str(a):
    len_a -= 1
if '-' in str(b):
    len_b -= 1
    
head_a = a / 10 ** (len_a - 1)
head_b = b / 10 ** (len_b - 1)
calculator = 0
res = None
if len_a >= 3 and len_b >= 3:
    if math.floor(head_a) == math.ceil(head_a) and math.floor(head_b) == math.ceil(head_b):
        calculator = 1
        res = a * b / 10
if calculator == 0:
    if a * b >= -99999999 and a * b <= 99999999:
        res = a * b
    else:
        res = 'E'
        
print(res)
            
            
            
        
            
_KingdomOfMoray