結果
| 問題 |
No.790 ちきんの括弧並べ
|
| ユーザー |
C. S.
|
| 提出日時 | 2019-03-14 14:13:42 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 205 bytes |
| コンパイル時間 | 299 ms |
| コンパイル使用メモリ | 29,056 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-26 09:44:26 |
| 合計ジャッジ時間 | 972 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include <stdio.h>
int main()
{
int n;
scanf("%d", &n);
int r = 1;
for(int i=0; i<n; i++){
r *= 2 * (2 * i + 1);
r /= i + 2;
}
printf("%d\n", r);
return 0;
}
C. S.