3 条题解

  • 0
    @ 2025-1-2 20:00:46

    这题目有问题!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    • 0
      @ 2024-3-24 9:12:54

      有大佬来救救我吗

      • 0
        @ 2024-1-4 16:30:57
        #include<bits/stdc++.h>
        using namespace std;
        int n,ans,t;
        int main()
        {
        	cin>>n;
        	while(n!=0)
        	{
        	 ans++;
        	 if(n%3==1&&t==0) t=ans;
        	 n=n-(n+2)/3;
        	 	
            }
            cout<<ans<<" "<<t;
        }
        
        • 1

        信息

        ID
        337
        时间
        1000ms
        内存
        512MiB
        难度
        10
        标签
        递交数
        26
        已通过
        0
        上传者