結果

問題 No.1713 trick or treat!
ユーザー Hentci
提出日時 2022-03-29 16:05:51
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 1,741 ms
コンパイル使用メモリ 192,668 KB
最終ジャッジ日時 2025-01-28 13:13:00
ジャッジサーバーID
(参考情報)
judge3 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
    ll a, b;
    cin >> a >> b;

    ll ans = 1;
    for(ll i = 1;i <= (a | b);i++)
        ans *= i;
    
    cout << ans << "\n";

    return 0;
}
0