5 条题解

  • -1
    @ 2023-4-8 10:59:45

    #include<bits/stdc++.h> using namespace std; int main(){ for(int i=1;i<=98;i++){ for(int j=1;j<=98;j++){ if(i5+j3+(100-i-j)/3100&&(100-i-j)%30) cout<<i<<" "<<j<<" "<<100-i-j<<endl; } } } //服了你们

    • -2
      @ 2023-4-8 11:12:53

      #include<bits/stdc++.h> using namespace std; char x[1000],h,m; int main() { gets(x); int k=strlen(x); for(int i=k;i>=0;i--) { if(x[i]==' ') { for(int j=i-1;j>=0;j--) { x[j+1]=x[j]; } x[0]=' '; } } cout<<x; }

      • -2
        @ 2022-11-10 20:13:23

        //帮下面那位改简易复制一下

        #include

        using namespace std;

        int main()

        {

        cout<<"4"<<' '<<"18"<<' '<<"78"<<'\n';

        cout<<"8"<<' '<<"11"<<' '<<"81"<<'\n';

        cout<<"12"<<' '<<"4"<<' '<<"84"; }

        • -2
          @ 2022-11-10 19:42:59

          #include using namespace std; int main() { cout<<"4"<<' '<<"18"<<' '<<"78"<<'\n'; cout<<"8"<<' '<<"11"<<' '<<"81"<<'\n'; cout<<"12"<<' '<<"4"<<' '<<"84"; }

          • -3
            @ 2023-4-8 11:13:07
            #include<bits/stdc++.h> 
            using namespace std;
            char x[1000],h,m;
            int main()
            {
            	gets(x);
            	int k=strlen(x);
            	for(int i=k;i>=0;i--)
            	{
            		if(x[i]==' ')
            		{
            			for(int j=i-1;j>=0;j--)
            			{
            			    x[j+1]=x[j];
            			}
            			x[0]=' ';
            		}
            	}
            	cout<<x;
            } 
            
            • 1

            信息

            ID
            15
            时间
            1000ms
            内存
            16MiB
            难度
            5
            标签
            递交数
            429
            已通过
            157
            上传者