結果

問題 No.722 100×100=1000
ユーザー ssmkzkssmkzk
提出日時 2018-08-27 17:56:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 230 bytes
コンパイル時間 132 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-04-20 15:26:41
合計ジャッジ時間 1,954 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,624 KB
testcase_01 AC 31 ms
10,752 KB
testcase_02 AC 29 ms
10,496 KB
testcase_03 AC 29 ms
10,496 KB
testcase_04 AC 28 ms
10,624 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 29 ms
10,496 KB
testcase_08 AC 29 ms
10,624 KB
testcase_09 RE -
testcase_10 AC 29 ms
10,624 KB
testcase_11 AC 28 ms
10,624 KB
testcase_12 AC 29 ms
10,496 KB
testcase_13 RE -
testcase_14 AC 28 ms
10,624 KB
testcase_15 AC 28 ms
10,624 KB
testcase_16 RE -
testcase_17 AC 28 ms
10,624 KB
testcase_18 AC 30 ms
10,496 KB
testcase_19 AC 29 ms
10,624 KB
testcase_20 AC 29 ms
10,624 KB
testcase_21 RE -
testcase_22 AC 30 ms
10,624 KB
testcase_23 RE -
testcase_24 WA -
testcase_25 RE -
testcase_26 RE -
testcase_27 AC 30 ms
10,624 KB
testcase_28 AC 30 ms
10,624 KB
testcase_29 AC 29 ms
10,752 KB
testcase_30 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())

if int(str(abs(A))[1:]) == int(str(abs(B))[1:]) == 0:
    ans = str(A * B)
    print(ans[:-1])
else:
    ans = A * B
    if len(str(abs(ans))) > 8:
        print("E")
    else:
        print(ans)
0