結果
問題 | No.597 concat |
ユーザー |
![]() |
提出日時 | 2018-06-03 13:34:18 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 319 bytes |
コンパイル時間 | 247 ms |
コンパイル使用メモリ | 28,672 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 09:19:23 |
合計ジャッジ時間 | 765 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include <stdio.h>#include <string.h>int main(){int i, N;char str[10][21];char str2[1000];scanf("%d\n", &N);for(i = 0; i < N; i++){scanf("%s ", str[i]);}for(i = 0; i < N; i++){sprintf(str2, "%s%s", str2, str[i]);}printf("%s\n", str2);return 0;}