結果

問題 No.793 うし数列 2
ユーザー mnrmnr
提出日時 2020-02-29 21:09:45
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
RE  
実行時間 -
コード長 219 bytes
コンパイル時間 1,744 ms
コンパイル使用メモリ 163,064 KB
実行使用メモリ 14,016 KB
最終ジャッジ日時 2024-04-21 21:55:22
合計ジャッジ時間 6,233 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
10,752 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 2 ms
5,376 KB
testcase_04 AC 2 ms
5,376 KB
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 TLE -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
権限があれば一括ダウンロードができます

ソースコード

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