結果
問題 |
No.597 concat
|
ユーザー |
![]() |
提出日時 | 2018-06-03 13:33:35 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 197 ms |
コンパイル使用メモリ | 100,864 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 12:23:45 |
合計ジャッジ時間 | 874 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 3 WA * 8 |
ソースコード
#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; }