結果
| 問題 |
No.964 2020
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-06 14:00:02 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,020 ms |
| コード長 | 341 bytes |
| コンパイル時間 | 1,447 ms |
| コンパイル使用メモリ | 166,468 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-06 05:48:16 |
| 合計ジャッジ時間 | 2,251 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<n;i++)
using namespace std;
using ll = long long ;
using P = pair<int,int> ;
const int INF = 1e9;
const int MOD = 1000000007;
int main(){
int n;
cin >> n;
string s;
for(int i=9;i>=9-n+1;i--){
rep(j,n) s += '0' + i;
}
cout << s << endl;
return 0;
}