結果
| 問題 |
No.1264 010
|
| コンテスト | |
| ユーザー |
tktk_snsn
|
| 提出日時 | 2021-03-20 18:49:48 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 560 bytes |
| コンパイル時間 | 1,648 ms |
| コンパイル使用メモリ | 168,420 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-21 07:38:38 |
| 合計ジャッジ時間 | 2,250 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 9 |
ソースコード
#include <bits/stdc++.h>
template<class T> inline bool chmax(T& a, T b){ if (a < b){ a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b){ if (a > b){ a = b; return true; } return false; }
using namespace std;
using ll = long long;
ll mod = 1e9+7;
const int dx[8] = {-1,0,1,0,-1,-1,1,1};
const int dy[8] = {0,1,0,-1,1,-1,1,-1};
int main(){
int n;
cin >> n;
vector<int> a(1010, 0);
a[1] = 1;
for(int i=n+2; i<1010; ++i) a[i] = 1;
for(int i=0; i<1010; ++i) cout << a[i];
cout << endl;
return 0;
}
tktk_snsn