結果
| 問題 | No.2599 Summer Project |
| コンテスト | |
| ユーザー |
tatu
|
| 提出日時 | 2024-01-16 18:27:06 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 325 bytes |
| 記録 | |
| コンパイル時間 | 991 ms |
| コンパイル使用メモリ | 26,496 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-28 02:29:17 |
| 合計ジャッジ時間 | 574 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / 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