結果
問題 |
No.722 100×100=1000
|
ユーザー |
![]() |
提出日時 | 2018-08-03 22:34:04 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 487 bytes |
コンパイル時間 | 692 ms |
コンパイル使用メモリ | 78,152 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-12 10:36:52 |
合計ジャッジ時間 | 1,545 ms |
ジャッジサーバーID (参考情報) |
judge4 / 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 (a % 100 == 0 && b % 100 == 0) { cout << c / 10 << endl; } else { if (abs(c) <= 99999999) { cout << c << endl; } else { cout << 'E' << endl; } } return 0; }