結果

問題 No.597 concat
ユーザー gunmakengunmaken
提出日時 2017-12-24 00:02:09
言語 C
(gcc 12.3.0)
結果
RE  
実行時間 -
コード長 289 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 29,056 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-05-09 22:29:00
合計ジャッジ時間 1,118 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,812 KB
testcase_01 AC 1 ms
6,944 KB
testcase_02 AC 1 ms
6,940 KB
testcase_03 AC 1 ms
6,940 KB
testcase_04 RE -
testcase_05 AC 1 ms
6,940 KB
testcase_06 RE -
testcase_07 RE -
testcase_08 AC 1 ms
6,940 KB
testcase_09 AC 1 ms
6,940 KB
testcase_10 AC 1 ms
6,940 KB
testcase_11 AC 1 ms
6,940 KB
testcase_12 AC 1 ms
6,940 KB
testcase_13 AC 1 ms
6,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <string.h>
#include <stdio.h>
#define REP(a) for(i = 0; i < a; i++)

int main(void) {
    char s[30];
    int a,i;
    scanf("%d",&a);
    char t[a][30];
    REP(a) {
        scanf("%s",t[i]);
    }
    REP(a) {
        strcat(s, t[i]);
    }
    printf("%s\n",s);
    return 0;
}
0