1 solutions

  • 4
    @ 2024-8-6 15:59:16
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	char ch;
    	cin>>ch;
    	if(ch=='a')
    	{
    		ch='z';
    	}
    	else
    	{
    		ch--;
    	}
    	cout<<ch;
    	return 0;
    }
    
    • 1

    Information

    ID
    16
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    246
    Accepted
    69
    Uploaded By