174 条题解

  • 0
    @ 2025-12-18 16:59:33
    using namespace std;
    long long t,x,n,s1,s2=1;
    int main()
    {
    	cin>>n;
    	t=n;
    	while(n)
    	{
    		x=n%10;
    		n=n/10;
    		s1=s1+x;
    		s2=s2*x;
    	}
    	if(t%2==0) cout<<s1;
    		else cout<<s2;
    }
    
    
    • 0
      @ 2025-12-18 16:48:36

      #include <bits/stdc++.h> using namespace std; long long t,x,n,s1,s2=1; int main() { cin>>n; t=n; while(n) { x=n%10; n=n/10; s1=s1+x; s2=s2*x; } if(t%2==0) cout<<s1; else cout<<s2; }

      • 0
        @ 2025-12-18 16:46:44

        #include <bits/stdc++.h> using namespace std; long long t,x,n,s1,s2=1; int main() { cin>>n; t=n; while(n) { x=n%10; n=n/10; s1=s1+x; s2=s2*x; } if(t%2==0) cout<<s1; else cout<<s2; }

        • 0
          @ 2025-12-18 16:17:33
          using namespace std;
          
          int main() {
              long long n;
              cin >> n;
              
              long long low = 1;
              long long high = 50000;
              long long ans = 0;
              
              while (low <= high) {
                  long long mid = (low + high) / 2;
                  long long total = mid * (mid + 1) / 2;
                  
                  if (total <= n) {
                      ans = mid;
                      low = mid + 1;
                  } else {
                      high = mid - 1;
                  }
              }
              
              cout << ans << endl;
              return 0;
          }
          
          • 0
            @ 2025-12-17 16:22:32
            using namespace std;
            int ans;
            double s=2,n,y;
            int main()
            {
            cin>>n;
            while(y<n)
            {
            
            • 0
              @ 2025-12-16 16:47:06
              #include <bits/stdc++.h>
              using namespace std;
              int x,n,s;
              int main()
              {
              cin>>x;
              while(x)
              {
              n=x%10;
              s+=n;
              x=x/10;
              }
              cout<<s;
              }
              
              
              
              • 0
                @ 2025-12-16 15:18:27

                胡乾元强奸楼jj·吃鱼的贵妃 侵犯 强吻# 胡乾元强奸楼jj·吃鱼的贵妃 侵犯 强吻# 胡乾元强奸楼jj·吃鱼的贵妃 侵犯 强吻

                • 0
                  @ 2025-12-11 15:11:54

                  妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99

                  • 0
                    @ 2025-12-11 15:11:26

                    妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99 妤彦99

                    • 0
                      @ 2025-12-9 16:20:14
                      #include <bits/stdc++.h>
                      using namespace std;
                      int n,x,maxx=INT_MIN,minx=INT_MAX;
                      int main()
                      {
                      cin>>n;	
                      for (int i=1;i<=n;i++)
                      {
                      cin>>x;
                      if(x>maxx) maxx=x;
                      if(x<minx) minx=x; 	
                      }
                      cout<<maxx<<" "<<minx;
                      }
                      
                      
                      
                      • 0
                        @ 2025-12-8 15:30:22

                        李狗逼是我孙女

                        • 0
                          @ 2025-12-6 14:20:23

                          6666666

                          • 0
                            @ 2025-12-6 14:20:18

                            666

                            • 0
                              @ 2025-12-2 16:35:28

                              666666666666666666666666666666666666666

                              • 0
                                @ 2025-12-2 16:33:41

                                胡乾元是我姐姐的女儿😄

                                认为不对的打❌

                                认为对的打 💯

                                ❗️❗️❗️

                                • 0
                                  @ 2025-11-29 14:07:53

                                  1

                                  • 0
                                    @ 2025-11-29 14:07:49

                                    1

                                    • 0
                                      @ 2025-11-29 13:34:00

                                      1

                                      • 0
                                        @ 2025-11-27 16:38:13
                                        #include <bits/stdc++.h>
                                        using namespace std;
                                        double s,a;
                                        int main()
                                        {
                                        	for(int i=1;i<=12;i++)
                                        {
                                        		cin>>a;
                                        		s=s+a;
                                        	}
                                        	s=s/12;
                                        	cout<<"$";
                                        	printf("%.2lf",s);
                                        }
                                        

                                        信息

                                        ID
                                        104
                                        时间
                                        1000ms
                                        内存
                                        256MiB
                                        难度
                                        6
                                        标签
                                        递交数
                                        207
                                        已通过
                                        58
                                        上传者