結果
| 問題 |
No.722 100×100=1000
|
| コンテスト | |
| ユーザー |
hiro_ei1812
|
| 提出日時 | 2019-07-14 15:57:06 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 265 bytes |
| コンパイル時間 | 2,934 ms |
| コンパイル使用メモリ | 54,136 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-12 12:09:55 |
| 合計ジャッジ時間 | 1,358 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 18 WA * 9 |
ソースコード
#include <iostream>
using namespace std;
int main(void){
int a,b;
int ans;
cin>>a>>b;
if(a%10==0 && b%10==0){
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