結果
| 問題 | No.597 concat |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-10 15:12:03 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 108 ms |
| コンパイル使用メモリ | 36,420 KB |
| 最終ジャッジ日時 | 2026-02-22 13:09:46 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 11 |
ソースコード
#include <stdio.h>
#include <string.h>
void main(void){
int n = 0;
scanf("%d",&n);
char str[100] = "a";
char ans[10000] = "a";
for(int i = 0 ; i < n ; i++){
scanf("%s",n);
strcat(ans,str);
}
printf("%s",ans);
}
Maeda