結果
| 問題 |
No.722 100×100=1000
|
| コンテスト | |
| ユーザー |
saitaman
|
| 提出日時 | 2018-08-08 07:42:54 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 564 bytes |
| コンパイル時間 | 664 ms |
| コンパイル使用メモリ | 84,396 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-12 10:53:03 |
| 合計ジャッジ時間 | 1,525 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 24 WA * 3 |
ソースコード
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <stack>
#include <queue>
#include <list>
#include <unordered_map>
#include <utility>
#include <map>
#include <set>
using namespace std;
int main(){
long long int a, b;
long long int ans;
cin >> a >> b;
if(a%100 == 0 && b%100 == 0){
cout << a*b/10 << endl;
}else{
ans = a*b;
if(ans >= -99999999 && ans <= 99999999){
cout << ans << endl;
}else{
cout << "E" << endl;
}
}
}
saitaman