結果

問題 No.793 うし数列 2
ユーザー mnr
提出日時 2020-02-29 21:09:45
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 219 bytes
コンパイル時間 1,599 ms
コンパイル使用メモリ 166,204 KB
実行使用メモリ 500,308 KB
最終ジャッジ日時 2024-10-13 20:19:00
合計ジャッジ時間 6,327 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 3 RE * 5 TLE * 1 -- * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
  int N;
  cin >> N;
  string Es = "1";
  for (int i = 0; i < N; i++) {
    Es += "3";
  }
  int E = stoi(Es);
  int A = E % 1000000007;
  cout << A << endl;
}
0