Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ main
Function
main
CPP/char array/checkpali.cpp:18–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
int main(){
19
cin.tie(0)->sync_with_stdio(0);
20
string s;
21
cin>>s;
22
int n=isPalindrome(s);
23
if(n)
24
cout<<
"yes"
<<endl;
25
else
26
cout<<
"no"
<<endl;
27
return 0;
28
}
29
30
Callers
nothing calls this directly
Calls
1
isPalindrome
Function · 0.70
Tested by
no test coverage detected