Submission
Status:
Compilation Error
Score: 0
User: Cmoss9
Problemset: คาราเมล
Language: cpp
Time: 0.000 second
Submitted On: 2025-03-29 22:57:39
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define pb push_back
#define mp make_pair
bool isInCaramel (char C) {
string caramel = "CaRaMel";
if (find(caramel.begin(), caramel.end(), C) != caramel.end()) return true;
else return false;
}
int main () {
ios_base::sync_with_stdio(0); cin.tie(NULL);
int t;
cin >> t;
while (t--) {
char C;
cin >> C;
cout << isInCaramel(C);
}
}