結果

問題 No.597 concat
ユーザー gunmaken
提出日時 2017-12-24 00:02:09
言語 C
(gcc 13.3.0)
結果
RE  
実行時間 -
コード長 289 bytes
コンパイル時間 124 ms
コンパイル使用メモリ 29,312 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-17 16:55:01
合計ジャッジ時間 996 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8 RE * 3
権限があれば一括ダウンロードができます

ソースコード

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