Skip to content

Commit

Permalink
ABC360A A Healthy Breakfast
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicfred committed Jul 15, 2024
1 parent 3ee80dc commit e06cec1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions atcoder/abc360a_a_healthy_breakfast.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Vicfred
// https://atcoder.jp/contests/abc360/tasks/abc360_a
// implementation
#include <iostream>
#include <string>

using namespace std;

int main() {
string S;
cin >> S;
if(S[0] == 'R') {
cout << "Yes" << endl;
return 0;
} else if(S[1] == 'R' and S[2] == 'M') {
cout << "Yes" << endl;
return 0;
}
cout << "No" << endl;
return 0;
}

0 comments on commit e06cec1

Please sign in to comment.