Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma GCC optimize("O3")
- #include <bits/stdc++.h>
- using namespace std;
- #define int long long
- #define double long double
- #define _FastIO ios_base::sync_with_stdio(0); cin.tie(0)
- #define F first
- #define S second
- signed main()
- {
- _FastIO;
- /*
- palindrome yoxlamaq ucun ededi stringkimi goturek
- reverse (tersine cevirib)
- ozu ile muqayise edek
- */
- string a , b;
- cin >> a;
- b = a; // 2 eyni string var bizde
- reverse(a.begin() , a.end());
- /*
- a b-ye beraberdirse Yes yoxsa No
- */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement