結果
| 問題 |
No.2599 Summer Project
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-03 19:14:42 |
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 506 bytes |
| コンパイル時間 | 22,805 ms |
| コンパイル使用メモリ | 353,388 KB |
| 最終ジャッジ日時 | 2025-02-20 00:23:15 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | AC * 4 |
ソースコード
#pragma GCC target("avx2")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include<bits/stdc++.h>
#include<atcoder/all>
using namespace std;
using namespace atcoder;
using ll=long long;
void IO(){
ios::sync_with_stdio(false);
std::cin.tie(nullptr);
}
int main(){
IO();
string s,t;
cin>>s>>t;
if(s.front()=='w'&&t.front()=='b'){
cout<<"shrinebell"<<endl;
}else if(s.front()=='b'&&t.front()=='s'){
cout<<"watermelon"<<endl;
}else{
cout<<"beachball"<<endl;
}
}