結果

問題 No.964 2020
ユーザー Noboru2020
提出日時 2021-01-14 13:14:06
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,020 ms
コード長 279 bytes
コンパイル時間 1,534 ms
コンパイル使用メモリ 165,328 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-24 03:26:57
合計ジャッジ時間 2,169 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
}
0