• 个人简介

    1

    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int a,b;
        bool c;
        cin>>a;
        c=a;
        b=c;
        cout<<b;
        return 0;
    }
    	return 0;
    }
    

    2

    #include<bits/stdc++.h>
    using namespace std;
    int sum;
    int main()
    {
    	int n;
    	cin>>n;
    	while(n%2==0)
    	{
    		n=n/2;
    		sum++;
    	}
    	cout<<sum<<endl;
    }
    

    4

    #include<bits/stdc++.h>
    using namespace std;
    string s;
    long long y,c,a[105];
    int main()
    {
    	cin>>s;
    	c=s.size();
    	for(int i=0;i<c;i++)
    	{
    		y=y*10+(s[i]-'0');
    		a[i]=y/13;
    		y%=13;
    	}
    	for(int i=0;i<c;i++)
    	{
    		if(a[i]!=0||i==c-1)
    		{
    			for(int j=i;j<c;j++) cout<<a[j];
    			break; 
    		}
    	}
    	cout<<"\n"<<y;
    	return 0;
    }
    
  • 通过的题目

  • 最近活动

题目标签

TL/一阶
4
拆位问题
3
简单分支
1