結果
| 問題 | No.597 concat |
| コンテスト | |
| ユーザー |
iwltwm
|
| 提出日時 | 2018-01-03 20:57:36 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 285 bytes |
| 記録 | |
| コンパイル時間 | 189 ms |
| コンパイル使用メモリ | 37,632 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-29 05:15:32 |
| 合計ジャッジ時間 | 1,083 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 11 |
ソースコード
/*
*No.597
*/
#include <stdio.h>
#include <string.h>
int main(void)
{
int N,i;
char a[201];
for (i=0;i<20;i++)
a[i]='\0';
scanf("%d",&N);
for (i=0;i<N;i++) {
char b[20];
scanf("%s",b);
strcat(a,b);
}
printf("\n%s\n",a);
return 0;
}
iwltwm