結果

問題 No.597 concat
ユーザー kazuki794
提出日時 2017-12-24 13:38:34
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 290 bytes
コンパイル時間 114 ms
コンパイル使用メモリ 27,904 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-17 18:32:57
合計ジャッジ時間 681 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <string.h>

int main(void) {
  int n;
  scanf("%d", &n);

  int i;
  char str[100] = "";
  for(i=1;i<=n;i++){
    char str_tmp[20];
    scanf("%s", str_tmp);
    strcat(str, str_tmp);
  }
  printf("d\n");
  printf("%s\n", str);
  //printf("aaaaa");
  return 0;
}
0