結果
| 問題 |
No.2614 Delete ABC
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-26 21:25:46 |
| 言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 514 bytes |
| コンパイル時間 | 4,220 ms |
| コンパイル使用メモリ | 180,608 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-28 07:38:06 |
| 合計ジャッジ時間 | 4,300 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 2 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#include <atcoder/all>
#ifndef ONLINE_JUDGE
#include "debug.h" // https://github.com/Heltion/debug.h/blob/main/debug.h
#else
#define debug(...) (void)417
#endif
using i64 = int64_t;
int main() {
cin.tie(nullptr)->sync_with_stdio(false);
cout << fixed << setprecision(20);
int t;
cin >> t;
for (int ti = 0; ti < t; ti += 1) {
int n;
cin >> n;
cout << "ABAC";
for (int i = 0; i < n - 2; i += 1) { cout << "ABC"; }
cout << "BC\n";
}
}