結果
| 問題 | No.2599 Summer Project |
| コンテスト | |
| ユーザー |
tatu
|
| 提出日時 | 2024-01-16 18:27:06 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 325 bytes |
| 記録 | |
| コンパイル時間 | 372 ms |
| コンパイル使用メモリ | 34,752 KB |
| 最終ジャッジ日時 | 2026-02-22 11:27:23 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 1 WA * 3 |
ソースコード
#include <stdio.h>
int main()
{
char str1[256], str2[256];
scanf("%s", &str1);
scanf("%s", &str2);
if(str1 == "watermelon" || str2 == "watermelon"){
if(str1 == "shrinebell" || str2 == "shrinebell"){
printf("beachball");
}else{
printf("shrinebell");
}
}else{
printf("watermelon");
}
return 0;
}
tatu