1 해설

  • 0
    @ 2026-1-31 11:02:55
    #include<bits/stdc++.h>
    using namespace std;
    string s1,s2;
    int main(){
    	getline(cin,s1);
    	s2 = s1;
    	reverse(s1.begin(),s1.end());
    	if(s1==s2) cout<<"yes";
    	else cout<<"no";
    	return 0;
    }
    
    • 1

    정보

    ID
    347
    시간
    1000ms
    메모리
    128MiB
    난이도
    9
    태그
    제출 기록
    11
    맞았습니다.
    4
    아이디