結果
| 問題 | No.722 100×100=1000 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-08-03 22:51:18 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 384 bytes |
| 記録 | |
| コンパイル時間 | 83 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-12 10:40:35 |
| 合計ジャッジ時間 | 1,870 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 22 WA * 3 RE * 2 |
ソースコード
from sys import stdin, stdout
input = lambda: stdin.readline().rstrip()
write = stdout.write
def main():
A, B = map(int, input().split())
if (not A % 100 and
not B % 100 and
str(A)[1] == str(B)[1] == '0'):
ans = (A * B) // 10
else:
ans = A * B
if not -99999999 <= ans <= 99999999:
ans = 'E'
print(ans)
main()