結果
問題 |
No.1713 trick or treat!
|
ユーザー |
![]() |
提出日時 | 2021-10-22 23:13:54 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 211 bytes |
コンパイル時間 | 2,608 ms |
コンパイル使用メモリ | 191,036 KB |
最終ジャッジ日時 | 2025-01-25 04:12:25 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 1 WA * 4 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { #define int int64_t int n; cin >> n; int ans = 1; for (int i = 1; i <= n; i++) { ans *= i; } cout << ans << endl; }