Submission

Status:

P

Subtask/Task Score:

100/100

Score: 100

User: kavin8888

Problemset: คาราเมล

Language: cpp

Time: 0.002 second

Submitted On: 2025-11-08 20:59:36

//#include<bits/stdc++.h>
//using namespace std;
//bool chk(char C) {
//	string input="CaRamel";
//	for(int i=0;i<input.size();i++) {
//		if(C==input[i]) {
//			return 1;
//		}
//	}
//	return 0;
//}
#include <bits/stdc++.h>
using namespace std;

bool isInCaramel (char C) {
    string caramel = "CaRaMeL";
    if (find(caramel.begin(), caramel.end(), C) != caramel.end()) return 1;
    else return 0;
}