結果
| 問題 |
No.722 100×100=1000
|
| コンテスト | |
| ユーザー |
takayuki
|
| 提出日時 | 2018-08-03 23:07:32 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 468 bytes |
| コンパイル時間 | 826 ms |
| コンパイル使用メモリ | 79,904 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-12 10:42:34 |
| 合計ジャッジ時間 | 1,536 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 WA * 8 |
ソースコード
#include<iostream>
#include<vector>
#include<stdlib.h>
#include<time.h>
#include<math.h>
#include<string.h>
#include<algorithm>
#include<queue>
#include<map>
#include<iomanip>
using namespace std;
int main(void){
int A,B;
long long int mul=0;
int error=0;
cin>>A>>B;
if(A%10==0 && B%10==0){
mul=(long long int)A*B/10;
}
else{
mul=A*B;
if(mul<-99999999||mul>99999999)error=1;
}
if(error==0)std::cout<<mul<<std::endl;
else std::cout<<"E"<<std::endl;
}
takayuki