結果
問題 |
No.964 2020
|
ユーザー |
|
提出日時 | 2020-01-14 05:10:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,020 ms |
コード長 | 316 bytes |
コンパイル時間 | 2,198 ms |
コンパイル使用メモリ | 192,492 KB |
最終ジャッジ日時 | 2025-01-08 17:53:56 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; const long long INF = LLONG_MAX; signed main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; string ans; for (int i = 9; i >= 10 - n; i--) for (int j = 0; j < n; j++) ans += '0' + i; cout << ans << '\n'; return 0; }