結果

問題 No.597 concat
ユーザー Leo-Kazama
提出日時 2018-06-25 16:01:04
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 266 bytes
コンパイル時間 109 ms
コンパイル使用メモリ 28,160 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 22:38:51
合計ジャッジ時間 722 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <string.h>
int main(void){
    int N;
    scanf("%d",&N);
    char S[200] = {'\0'};
    char input[20];
    for(int i = 0;i<N;i++){
        scanf("%s",input);
        strcat(S,input);
    }
    printf("%s",S);
    return 0;
}
0