結果
問題 | No.1264 010 |
ユーザー |
|
提出日時 | 2020-11-07 01:20:00 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 335 bytes |
コンパイル時間 | 2,023 ms |
コンパイル使用メモリ | 193,824 KB |
最終ジャッジ日時 | 2025-01-15 21:22:06 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
#include <bits/stdc++.h>using namespace std;#define REP(i,n) for(int i=0; i<(int)(n); i++)int main() {ios_base::sync_with_stdio(0);cin.tie(0);int n;cin >> n;if (n == 0) {cout << "1" << endl;} else {string ret = "010";REP (i, n-1)ret += '0';cout << ret << endl;}return 0;}