結果

問題 No.1264 010
ユーザー tadanoningen
提出日時 2020-10-23 22:25:57
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 2,691 ms
コンパイル使用メモリ 166,196 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-21 11:08:35
合計ジャッジ時間 3,542 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 1 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;

int main(){
    int N;
    cin >> N;
    string ans = "";
    if(N == 0){
        cout << "101" << endl;
    }else{
        for(int i=1;i <= N;i++){
            ans += "010";
        }
    }
    cout << ans << endl;
}
0