結果

問題 No.597 concat
ユーザー antyobi
提出日時 2019-05-13 22:14:36
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 2,000 ms
コード長 215 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 28,160 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-08 08:36:49
合計ジャッジ時間 654 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <string.h>
int main(){
    int N,i;
    char str[2000]={},s[20];
    
    scanf("%d",&N);
    for(i=0;i<N;i++){
        scanf("%s",s);
        strcat(str,s);
    }
    printf("%s",str);
}
0