結果
問題 | No.741 AscNumber(Easy) |
ユーザー |
![]() |
提出日時 | 2018-10-05 21:40:45 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 647 ms |
コンパイル使用メモリ | 56,080 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-12 12:58:12 |
合計ジャッジ時間 | 2,368 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 55 |
ソースコード
#include <iostream>using namespace std;#define M 1000000007int main() {int n; cin >> n;long long ans = 1;for (int i = 1; i <= 9; i++) ans = ans * (n + i) % M;ans = ans * 831947206 % M;cout << ans << endl;}