結果

問題 No.2614 Delete ABC
ユーザー Saiki KunSaiki Kun
提出日時 2024-03-21 17:46:47
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 282 bytes
コンパイル時間 728 ms
コンパイル使用メモリ 65,432 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-03-21 17:46:49
合計ジャッジ時間 1,183 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
}
0