結果
問題 |
No.597 concat
|
ユーザー |
|
提出日時 | 2019-04-19 15:56:43 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 252 bytes |
コンパイル時間 | 207 ms |
コンパイル使用メモリ | 28,160 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 11:30:40 |
合計ジャッジ時間 | 801 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include <stdio.h> #include <string.h> int main(void) { int n; int i; char str[200]; char tmp[20]; scanf("%d",&n); for(i=0;i<n;i++){ scanf("%s",tmp); strcat(str,tmp); } printf("%s",str); return 0; }