結果
| 問題 | No.3019 YNeos |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-18 14:20:02 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 387 bytes |
| 記録 | |
| コンパイル時間 | 130 ms |
| コンパイル使用メモリ | 37,988 KB |
| 最終ジャッジ日時 | 2026-02-22 13:17:58 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 41 |
ソースコード
#include <stdio.h>
#include <string.h>
void main(void) {
char x[1000] = "a";
scanf("%s",x);
char y[1000] = "a";
scanf("%s",y);
if((int)strlen(x) - (int)strlen(y) != 0 && (int)strlen(x) - (int)strlen(y) != 1){
printf("?");
}else{
for(int i = 0 ; i < (int)strlen(x);i++){
if(x[i] != '\0'){
printf("%c",x[i]);
}
if(y[i] != '\0'){
printf("%c",y[i]);
}
}
}
}
Maeda