結果
問題 |
No.793 うし数列 2
|
ユーザー |
![]() |
提出日時 | 2019-02-23 04:33:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 1,564 ms |
コンパイル使用メモリ | 165,448 KB |
実行使用メモリ | 13,952 KB |
最終ジャッジ日時 | 2024-11-27 12:00:14 |
合計ジャッジ時間 | 41,541 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 3 WA * 5 TLE * 13 |
ソースコード
#include "bits/stdc++.h" using namespace std; const int MOD = 1e9+7; void solve() { long N; cin>> N; int ans = 1; while(N--) { ans *= 10; ans += 3; ans %= MOD; } cout << ans<< endl; } int main(void) { solve(); //cout << "yui(*-v・)yui" << endl; return 0; }