結果

問題 No.722 100×100=1000
ユーザー dangodango
提出日時 2023-06-06 21:43:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 74 ms / 2,000 ms
コード長 278 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 87,148 KB
実行使用メモリ 71,340 KB
最終ジャッジ日時 2023-08-28 10:50:21
合計ジャッジ時間 3,746 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,992 KB
testcase_01 AC 71 ms
71,228 KB
testcase_02 AC 71 ms
70,880 KB
testcase_03 AC 71 ms
71,100 KB
testcase_04 AC 73 ms
71,168 KB
testcase_05 AC 71 ms
71,196 KB
testcase_06 AC 71 ms
71,264 KB
testcase_07 AC 69 ms
71,340 KB
testcase_08 AC 71 ms
71,260 KB
testcase_09 AC 71 ms
71,316 KB
testcase_10 AC 72 ms
71,256 KB
testcase_11 AC 73 ms
71,220 KB
testcase_12 AC 71 ms
71,268 KB
testcase_13 AC 72 ms
71,296 KB
testcase_14 AC 72 ms
71,004 KB
testcase_15 AC 72 ms
71,044 KB
testcase_16 AC 74 ms
71,276 KB
testcase_17 AC 71 ms
71,100 KB
testcase_18 AC 72 ms
71,276 KB
testcase_19 AC 72 ms
71,292 KB
testcase_20 AC 70 ms
71,068 KB
testcase_21 AC 71 ms
71,128 KB
testcase_22 AC 72 ms
71,000 KB
testcase_23 AC 71 ms
71,052 KB
testcase_24 AC 71 ms
70,876 KB
testcase_25 AC 70 ms
71,128 KB
testcase_26 AC 69 ms
71,272 KB
testcase_27 AC 70 ms
70,852 KB
testcase_28 AC 72 ms
71,152 KB
testcase_29 AC 71 ms
71,208 KB
testcase_30 AC 72 ms
71,000 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def CHECKOK(x: int) -> bool:
    if x == 0:
        return False
    return 2 <= len(str(abs(x))[1:]) == str(abs(x))[1:].count("0")
A, B = map(int, input().split())
if CHECKOK(A) and CHECKOK(B):
  print(A * B // 10)
elif abs(A * B) < 100000000:
  print(A * B)
else:
  print("E")
0