結果
問題 | No.964 2020 |
ユーザー |
|
提出日時 | 2021-01-14 13:14:06 |
言語 | C++14 (gcc 10.2.0 + boost 1.73.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,020 ms |
コード長 | 279 Byte |
コンパイル時間 | 2,231 ms |
使用メモリ | 3,368 KB |
最終ジャッジ日時 | 2021-01-14 13:14:10 |
合計ジャッジ時間 | 3,480 ms |
テストケース
テストケース表示入力 | 結果 | 実行時間 使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
3,312 KB |
testcase_01 | AC | 2 ms
3,260 KB |
testcase_02 | AC | 2 ms
3,156 KB |
testcase_03 | AC | 2 ms
3,296 KB |
testcase_04 | AC | 2 ms
3,156 KB |
testcase_05 | AC | 2 ms
3,204 KB |
testcase_06 | AC | 2 ms
3,064 KB |
testcase_07 | AC | 2 ms
3,080 KB |
testcase_08 | AC | 2 ms
3,208 KB |
testcase_09 | AC | 2 ms
3,308 KB |
ソースコード
#include<bits/stdc++.h> using namespace std; #define int long long signed main(){ int N; cin>>N; for(int i=1; i<=min(9LL,N); i++){ for(int j=0; j<N; j++){ cout << i; } } if(N==10){ for(int i=0; i<N; i++){ cout << 0; } } cout<<endl; }