結果
| 問題 | No.964 2020 |
| コンテスト | |
| ユーザー |
Ilag
|
| 提出日時 | 2020-01-16 00:24:45 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,020 ms |
| コード長 | 349 bytes |
| 記録 | |
| コンパイル時間 | 1,350 ms |
| コンパイル使用メモリ | 183,316 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-05 21:33:29 |
| 合計ジャッジ時間 | 1,692 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
typedef long long ll;
// Welcome to my source code!
int main() {
int n;
cin >> n;
for (int k = 0; k < n; k++) {
int i = n, j = 1;
if (n == 10) j++;
for (; i >= j; i--) cout << i;
}
cout << endl;
}
Ilag