結果
| 問題 | No.1713 trick or treat! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-12-28 01:18:37 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 203 bytes |
| 記録 | |
| コンパイル時間 | 1,184 ms |
| コンパイル使用メモリ | 208,724 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-07-03 08:17:31 |
| 合計ジャッジ時間 | 1,893 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 2 WA * 3 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int fac(int n){
if(n==1){
return 1;
}
else{
return n*fac(n-1);
}
}
int main(){
int trick,treat;
cin>>trick>>treat;
cout<<fac(trick|treat)<<endl;
}