結果

問題 No.741 AscNumber(Easy)
ユーザー c-yan
提出日時 2020-12-02 01:18:08
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 293 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 28,928 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-13 03:37:12
合計ジャッジ時間 1,546 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 55
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

#define M 1000000007

int main()
{
    int N;
    scanf("%d", &N);

    long long result = 1;
    for(int i = 1; i < 10; i++) {
        result *= N + i;
        result %= M;
    }
    result *= 831947206;
    result %= M;

    printf("%d\n", (int)result);

    return 0;
}
0