結果
| 問題 |
No.722 100×100=1000
|
| コンテスト | |
| ユーザー |
merom686
|
| 提出日時 | 2018-08-03 22:35:10 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 497 bytes |
| コンパイル時間 | 850 ms |
| コンパイル使用メモリ | 77,880 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-12 10:37:34 |
| 合計ジャッジ時間 | 1,745 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 24 WA * 3 |
ソースコード
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <map>
#include <cstdio>
#include <cstring>
#include <cmath>
using namespace std;
using ll = long long;
int main() {
ll a, b;
cin >> a >> b;
ll c = a * b;
if (c != 0 && a % 100 == 0 && b % 100 == 0) {
cout << c / 10 << endl;
} else {
if (abs(c) <= 99999999) {
cout << c << endl;
} else {
cout << 'E' << endl;
}
}
return 0;
}
merom686