結果
| 問題 |
No.722 100×100=1000
|
| コンテスト | |
| ユーザー |
fV9TwBhUoa9S3eV
|
| 提出日時 | 2019-10-24 15:59:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 35 ms / 2,000 ms |
| コード長 | 289 bytes |
| コンパイル時間 | 627 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-12-29 19:48:46 |
| 合計ジャッジ時間 | 2,532 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 27 |
ソースコード
# No.722 100×100=1000
a, b = [int(s) for s in input().split()]
if a % 100 == 0 and b % 100 == 0 and len([s for s in str(abs(a)) if s != '0']) == 1 and len([s for s in str(abs(b)) if s != '0']) == 1:
print(a * b // 10)
else:
print(a * b if -99999999 <= a * b <= 99999999 else 'E')
fV9TwBhUoa9S3eV