結果
問題 |
No.722 100×100=1000
|
ユーザー |
![]() |
提出日時 | 2020-03-03 13:42:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 749 bytes |
コンパイル時間 | 248 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-13 22:26:18 |
合計ジャッジ時間 | 2,326 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 27 |
ソースコード
def make_a_list(i): iab = abs(i) L = list(str(iab)) return L def div10(L): des = '0' if len(L) >= 3: for i in range(-1,-len(L)): if -i != len(L)-1 and L[i] == 0: continue elif L[i] != 0: des = "calcurator" break elif -i == len(L)-1 and L[i] == 0: des = "in_her_head" else: des = "calcurator" return des A, B = map(int,input().split()) la = make_a_list(A) lb = make_a_list(B) if div10(la) == "in_her_head" and div10(lb) == "in_her_head": ans = A*B / 10 else: if abs(A*B) > 99999999: ans = 'E' elif abs(A*B) <= 99999999: ans = A*B print(div10(la)) print(ans)