• 个人简介

    #include<bits/stdc++.h>
    using namespace std;
    string n;
    int main()
    {
    	cout<<"用 0 2 5 三个数字组成一个数字"<<endl;
    	cin>>n;
    	if (n=="250") cout<<"对的 是你";
    	else if (n=="025") cout<<"傻子 你写的是什么";
    	else if (n=="052") cout<<"傻子 你写的是什么";
    	else if (n=="520") cout<<"?你暗恋我";
    	else if (n=="205") cout<<"傻子 你写的是什么";
    	else if (n=="502") cout<<"傻子 你写的是什么";
    	else cout<<"?";
    }
    
    #include<bits/stdc++.h>
    using namespace std;
    string s,t;
    long long x,p=0;
    int main()
    {
    	cin>>s;
    	t=s;
    	for (int i=0;i<=s.size()-1;i++)
    	{
    		if (s[i]!='a') 
    		{
    			x=i;
    			p=1;
    			break;
    		}
    	}
    	if (p==1)
    	{
    		for (int i=x;i<=s.size()-1;i++)
    		{
    			if (s[i]=='a') break;
    			else t[i]=s[i]-1;
    		}
    	}
    	else t[s.size()-1]='z';
    	cout<<t;
    }
    

    https://www.luogu.com.cn/

  • 通过的题目

  • 最近活动

    This person is lazy and didn't join any contests or homework.
  • 最近编写的题解