結果
| 問題 | No.1713 trick or treat! |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-27 16:49:08 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 236 bytes |
| 記録 | |
| コンパイル時間 | 132 ms |
| コンパイル使用メモリ | 38,208 KB |
| 最終ジャッジ日時 | 2026-02-22 13:27:13 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 5 |
ソースコード
#include <stdio.h>
void main(void){
int trick = 0 , treat = 0;
scanf("%d %d",&trick,&treat);
int n = trick|treat;
int result = 1;
for(int i = 1 ; i <= n ; i++){
result *= i;
}
printf("%d",result);
}
Maeda