| 13 | return isPalindrome(s,i+1,n); |
| 14 | } |
| 15 | int main(){ |
| 16 | cin.tie(0)->sync_with_stdio(0); |
| 17 | int n;cin>>n; |
| 18 | char str[n]; |
| 19 | for (int i = 0; i < n; ++i) |
| 20 | { |
| 21 | cin>>str[i]; |
| 22 | |
| 23 | } |
| 24 | if(isPalindrome(str,0,n)) |
| 25 | cout<<"its a palli"<<endl; |
| 26 | else |
| 27 | cout<<"its not palli "<<endl; |
| 28 | return 0; |
| 29 | } |
nothing calls this directly
no test coverage detected