結果

問題 No.964 2020
ユーザー AuroraAurora
提出日時 2022-05-23 17:55:42
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
OLE  
実行時間 -
コード長 676 bytes
コンパイル時間 3,279 ms
コンパイル使用メモリ 168,804 KB
実行使用メモリ 7,800 KB
最終ジャッジ日時 2023-10-20 17:41:25
合計ジャッジ時間 30,577 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 OLE -
testcase_01 OLE -
testcase_02 OLE -
testcase_03 OLE -
testcase_04 OLE -
testcase_05 OLE -
testcase_06 OLE -
testcase_07 OLE -
testcase_08 OLE -
testcase_09 OLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

const vector<int> dx_2d = {1,-1,0,0};
const vector<int> dy_2d = {0,0,1,-1};

void Yyy(){
  cout << "Yes" << endl;
}

void Nnn(){
  cout << "No" << endl;
}

void YYY(){
  cout << "YES" << endl;
}

void NNN(){
  cout << "NO" << endl;
}

void fixprecision(){
  cout << fixed << setprecision(20);
}

template<class T> bool chmin(T& a,T b){
  if(a > b){
    a = b;
    return true;
  }
  else return false;
}

template<class T> bool chmax(T& a,T b){
  if(a < b){
    a = b;
    return true;
  }
  else return false;
}

int main(){
  int N;
  cin >> N;
  for(int i=9;i>9-N;i++){
    for(int j=0;j<N;j++) cout << i;
  }
  cout << endl;
}
0