• 取石子
  • 求进制转换思路(最后一题,不要代码,只要思路)

  • @ 2025-7-16 9:55:13

qwq

7 条评论

  • @ 2025-7-16 15:04:27

    是思路!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    • @ 2025-7-16 13:34:47

      我的发是什么意思??

      • @ 2025-7-16 13:33:46

        ???@高梓均 你是什么意思??

        • @ 2025-7-16 13:27:00

          我的发

          • @ 2025-7-16 13:25:01

            @金泓镒 你个大傻逼

            • @ 2025-7-16 13:22:43
              #include<bits/stdc++.h>
              using namespace std;
              int main(){
              	string s; 
              	int n; 
              	cin>>n; 
              	cin>>s; 
              	int a=s.size(); 
              	for(int i=0;i<s.size();i++){ 
              		if(i!=0&&s[i]!='0'){ 
              			cout<<"+"; 
              		} 
              		if(s[i]!='0') { 
              			cout<<s[i]<<"*"<<n<<"^"<<a-1-i;
              		} 
              	}
              }
              
              
              • @ 2025-7-16 13:13:37

                #include #include #include using namespace std; int main(){ string s; int m; cin>>m; cin>>s; int x=s.size(); for(int i=0;i<s.size();i++){ if(i!=0 and s[i]!='0'){ cout<<"+"; } if(s[i]!='0') { cout<<s[i]<<"*"<<m<<"^"<<x-1-i; } }

                return 0;
                

                }

                • 1

                信息

                ID
                116
                时间
                1000ms
                内存
                256MiB
                难度
                8
                标签
                递交数
                56
                已通过
                9
                上传者