結果
問題 |
No.1264 010
|
ユーザー |
![]() |
提出日時 | 2020-10-24 02:43:33 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 381 bytes |
コンパイル時間 | 1,535 ms |
コンパイル使用メモリ | 167,216 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-21 14:49:34 |
合計ジャッジ時間 | 2,321 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 |
ソースコード
/** * @FileName a.cpp * @Author kanpurin * @Created 2020.10.24 02:43:29 **/ #include "bits/stdc++.h" using namespace std; typedef long long ll; int main() { int n;cin >> n; if (n == 0) { cout << "1" << endl; return 0; } string s = "010"; for (int i = 0; i < n-1; i++) { s += "0"; } cout << s << endl; return 0; }