結果
問題 | No.1264 010 |
ユーザー |
|
提出日時 | 2020-10-24 09:14:08 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 738 bytes |
コンパイル時間 | 1,624 ms |
コンパイル使用メモリ | 165,760 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-21 14:58:06 |
合計ジャッジ時間 | 2,404 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
#include <bits/stdc++.h>using namespace std;//#include <atcoder/all>//using namespace atcoder;template <typename T> bool chmax(T &u, const T z) { if (u < z) {u = z; return true;} else return false; }template <typename T> bool chmin(T &u, const T z) { if (u > z) {u = z; return true;} else return false; }#define ll long long#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)//#define endl "\n"typedef pair<ll, ll> P;//const ll INF = LLONG_MAX;//using mint = modint1000000007;//using mint = modint998244353;//const int MOD = 1000000007;ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; }int main(){int n;cin>>n;if(n==0)cout<<1<<endl;else {cout<<"01";rep(i,n)cout<<0;cout<<endl;}return 0;}