제출 #148444

#제출 시각아이디문제언어결과실행 시간메모리
148444usa1+samsung2 (#200)HicCup (FXCUP4_hiccup)C++17
0 / 100
5 ms432 KiB
#include "hiccup.h" int HicCup(std::string S) { int N = S.size(); if (N % 2 == 1) return -1; for (int i = 0; i < N; i += 2) { if (S[i] != 'H' || S[i] != 'C') return -1; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...