結果
| 問題 |
No.2614 Delete ABC
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-21 17:46:47 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 282 bytes |
| コンパイル時間 | 665 ms |
| コンパイル使用メモリ | 64,896 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-09-30 10:10:42 |
| 合計ジャッジ時間 | 891 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 2 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main() {
int t;
cin >> t;
for (int i = 0; i < t; ++i) {
int n;
cin >> n;
string s = "ABACBC" + string("ABC").substr(0, n - 2);
cout << s << endl;
}
return 0;
}