== Source code == {{{~cpp #include #include bool isSlurpy(char* string,int* nowPointer,int arraySize); bool isSlimpy(char* string,int* nowPointer,int arraySize); bool isSlumpy(char* string,int* nowPointer,int arraySize); bool isFollowF(char* string,int* nowPointer,int arraySize); bool isNextCharacter(char* string,int* nowPointer,int arraySize,char checker); void main() { int testCount=0; cin>>testCount; bool* result; result = new bool[testCount]; int arraySize; char string[60]; int nowPointer; for(int i=0;i>string; arraySize=strlen(string); nowPointer=-1; result[i]=isSlurpy(string,&nowPointer,arraySize); } cout<<"\nSLURPYS OUTPUT\n"; for(int j=0;j=arraySize) return false; int count=0; while(string[(*nowPointer)+1]=='F') { (*nowPointer)++; count++; } if(count>0) return true; return false; } bool isNextCharacter(char* string,int* nowPointer,int arraySize,char checker) { if((*nowPointer)+1>=arraySize) return false; if(string[(*nowPointer)+1]==checker) { (*nowPointer)++; return true; } return false; } }}}