結果
問題 | No.597 concat |
ユーザー | Artemis2718 |
提出日時 | 2019-04-19 15:54:55 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 254 bytes |
コンパイル時間 | 933 ms |
コンパイル使用メモリ | 27,776 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 11:30:37 |
合計ジャッジ時間 | 761 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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\n",str); return 0; }