結果
| 問題 | No.722 100×100=1000 |
| コンテスト | |
| ユーザー |
simamumu
|
| 提出日時 | 2018-08-03 22:48:52 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 578 bytes |
| 記録 | |
| コンパイル時間 | 196 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 11,776 KB |
| 最終ジャッジ日時 | 2024-10-12 10:40:17 |
| 合計ジャッジ時間 | 2,408 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 15 WA * 9 RE * 3 |
ソースコード
from collections import defaultdict
import sys,heapq,bisect,math,itertools,string,queue,datetime
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
AtoZ = [chr(i) for i in range(65,65+26)]
atoz = [chr(i) for i in range(97,97+26)]
def inpl(): return list(map(int, input().split()))
def inpl_str(): return list(input().split())
A,B = inpl()
La = int (math.log10(abs(A)) + 1) - 1
Lb = int (math.log10(abs(B)) + 1) - 1
if A%(10**La)==0 and B%(10**La)==0:
print(A*B//10)
else:
ans = A*B
if -99999999 <= ans <= 99999999:
print(ans)
else:
print('E')
simamumu