結果

問題 No.1713 trick or treat!
ユーザー LV3zJigVW57oPGyLV3zJigVW57oPGy
提出日時 2022-08-16 21:44:11
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 1,241 ms
コンパイル使用メモリ 157,956 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-14 15:24:47
合計ジャッジ時間 1,920 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,816 KB
testcase_01 AC 2 ms
6,944 KB
testcase_02 WA -
testcase_03 AC 2 ms
6,940 KB
testcase_04 WA -
testcase_05 AC 2 ms
6,940 KB
testcase_06 WA -
testcase_07 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
int a, b;
  cin >> a >> b;
  int c = a | b;
  int add = 1;
 for(int i=0; i<c; i++){
   add *= (i+1);
 }
  cout <<add;
}
0