結果
問題 | No.1264 010 |
ユーザー |
![]() |
提出日時 | 2020-07-07 00:00:17 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 621 bytes |
コンパイル時間 | 1,981 ms |
コンパイル使用メモリ | 193,380 KB |
最終ジャッジ日時 | 2025-01-11 16:27:47 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 9 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; constexpr long long MOD = 1000000007; constexpr long long INF = 1LL << 60; const long double PI = acosl(-1.0); constexpr long double EPS = 1e-11; template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } int main(){ ll n; cin >> n; assert(0 <= n and n <= 1000); string ans="0"; for(ll i=0;i<n;i++)ans+="010"; cout << ans << endl; }