結果

問題 No.722 100×100=1000
ユーザー chocopuu
提出日時 2018-11-10 21:19:06
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 449 bytes
コンパイル時間 1,651 ms
コンパイル使用メモリ 166,324 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-12 11:15:15
合計ジャッジ時間 2,448 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 24 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define int long long
const int MOD=1000000007;
const int INF=1e18;

signed main(){
    cin.tie(0);
	ios::sync_with_stdio(false);
    int A , B;
    std::cin >> A >> B;
    int ans = A*B;
    if (A%100==0 && B%100==0)
    {
        std::cout << A*B/10 << "\n";
        return 0;
    }
    if (abs(A*B)<=99999999)
    {
        cout<<A*B<<endl;
    }else{
        cout<<'E'<<endl;
    }

    return 0;
}
0