結果
問題 |
No.597 concat
|
ユーザー |
![]() |
提出日時 | 2017-12-29 13:21:27 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 319 bytes |
コンパイル時間 | 107 ms |
コンパイル使用メモリ | 28,544 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-21 10:29:38 |
合計ジャッジ時間 | 670 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#include<stdio.h> #include<stdlib.h> #define LEN 20 int main(){ char** str; int i; int n; scanf("%d",&n); str = (char**)calloc(n,sizeof(char*)); for(i=0;i<n;i++){ str[i] = (char*)calloc(LEN+1,sizeof(char)); scanf("%s",str[i]); } for(i=0;i<n;i++){ printf("%s",str[i]); } printf("\n"); return 0; }