結果
| 問題 |
No.722 100×100=1000
|
| コンテスト | |
| ユーザー |
takiteke
|
| 提出日時 | 2018-08-03 22:28:30 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 519 bytes |
| コンパイル時間 | 626 ms |
| コンパイル使用メモリ | 75,244 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-12 10:33:58 |
| 合計ジャッジ時間 | 1,490 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 24 WA * 3 |
ソースコード
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<string>
#include<algorithm>
#include<cmath>
#include<queue>
#include<vector>
#include<stack>
using namespace std;
#define REP(i,n) for(int i=0;(i)<(n);(i)++)
#define ll long long
#define int long long
int N;
int A, B;
int ans;
signed main() {
cin >> A >> B;
if (A % 100 == 0 && B % 100 == 0) {
ans = A*B / 10;
cout << ans << endl;
return 0;
}
else ans = A*B;
if (abs(ans) >= 1e8) cout << 'E' << endl;
else cout << ans << endl;
return 0;
}
takiteke