結果

問題 No.1264 010
ユーザー tktk_snsntktk_snsn
提出日時 2021-03-20 18:49:13
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 560 bytes
コンパイル時間 1,525 ms
コンパイル使用メモリ 166,372 KB
実行使用メモリ 4,512 KB
最終ジャッジ日時 2023-08-13 12:42:01
合計ジャッジ時間 4,076 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#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+3; i<1010; ++i) a[i] = 1;
    for(int i=0; i<1010; ++i) cout << a[i];
    cout << endl;
    return 0;
}
0