結果
問題 | No.722 100×100=1000 |
ユーザー |
![]() |
提出日時 | 2018-08-04 07:57:23 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 322 bytes |
コンパイル時間 | 678 ms |
コンパイル使用メモリ | 67,224 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-12 10:46:06 |
合計ジャッジ時間 | 1,508 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 24 WA * 3 |
ソースコード
#include<iostream> #include<cmath> 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&&abs(a)>=100&&abs(b)>=100) cout << ans/10; else if(ans >= -99999999 && ans <= 99999999) cout << ans; else cout << "E\n"; return 0; }