結果
| 問題 | 
                            No.722 100×100=1000
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hiro_ei1812
                         | 
                    
| 提出日時 | 2019-07-14 16:05:44 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 289 bytes | 
| コンパイル時間 | 572 ms | 
| コンパイル使用メモリ | 55,300 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-10-12 12:10:13 | 
| 合計ジャッジ時間 | 1,670 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 WA * 1 | 
| other | AC * 24 WA * 3 | 
ソースコード
#include <iostream>
using namespace std;
int main(void){
	long a,b;
	long ans;
	cin>>a>>b;
	if(a%100==0 && b%100==0 && a>=100 && b>=100){
		cout<<a*b/10<<"\n";
		return 0;
	}
	ans=a*b;
	if(-99999999<=ans && ans<=99999999){
		cout<<ans<<"\n";
	}
	else{
		cout<<"E\n";
	}
	return 0;
}
            
            
            
        
            
hiro_ei1812