結果
| 問題 | No.964 2020 |
| コンテスト | |
| ユーザー |
あるふぁ
|
| 提出日時 | 2020-01-13 20:25:54 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,020 ms |
| + 354µs | |
| コード長 | 541 bytes |
| 記録 | |
| コンパイル時間 | 463 ms |
| コンパイル使用メモリ | 110,712 KB |
| 実行使用メモリ | 9,852 KB |
| 最終ジャッジ日時 | 2026-10-05 16:32:30 |
| 合計ジャッジ時間 | 1,706 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
#include <iostream>
#include <string>
#include <algorithm>
#include <iomanip>
#include <cmath>
#include <vector>
#include <set>
#include <queue>
#include <unordered_map>
#include <map>
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
using lint = long long;
using namespace std;
const int MOD = 1000000007;
int main() {
int N;
cin >> N;
string res = "";
char fill = '9';
rep(i, N) {
rep(j, N) {
char t = fill - i;
res += t;
}
}
cout << res << endl;
return 0;
}
あるふぁ