結果
| 問題 | No.722 100×100=1000 |
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-08-04 07:52:21 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 280 bytes |
| 記録 | |
| コンパイル時間 | 589 ms |
| コンパイル使用メモリ | 64,464 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-12 10:46:01 |
| 合計ジャッジ時間 | 1,549 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 20 WA * 7 |
ソースコード
#include<iostream>
using ll = long long;
using namespace std;
int main(){
ll a,b;
ll ans;
cin >> a >> b;
ans = a*b;
if(a%10==0&&b%10==0) cout << ans/10;
else if(ans >= -99999999 && ans <= 99999999) cout << ans;
else cout << "E\n";
return 0;
}
focus