結果
| 問題 | No.793 うし数列 2 |
| コンテスト | |
| ユーザー |
hiroa
|
| 提出日時 | 2019-05-03 15:14:39 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 320 bytes |
| 記録 | |
| コンパイル時間 | 1,029 ms |
| コンパイル使用メモリ | 180,940 KB |
| 実行使用メモリ | 995,340 KB |
| 最終ジャッジ日時 | 2026-06-05 04:04:01 |
| 合計ジャッジ時間 | 5,507 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 3 RE * 5 MLE * 1 -- * 12 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define MOD 1000000007
#define INF 1e9
const int MAX_N=100010;
vector<int> G[MAX_N];
int main(){
int N;
cin>>N;
string s;
s='1';
for(int i=1;i<=N;i++){
s+='3';
}
ll a=stoi(s);
cout<<a%MOD<<endl;
}
hiroa