結果
問題 |
No.793 うし数列 2
|
ユーザー |
![]() |
提出日時 | 2019-05-03 15:14:39 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 320 bytes |
コンパイル時間 | 1,832 ms |
コンパイル使用メモリ | 168,252 KB |
実行使用メモリ | 814,812 KB |
最終ジャッジ日時 | 2024-12-31 15:41:22 |
合計ジャッジ時間 | 32,661 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 3 RE * 5 TLE * 12 MLE * 1 |
ソースコード
#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; }