6 条题解

  • 2
    @ 2025-2-11 11:52:31
    #include<bits/stdc++.h>
    #define yy return 0;
    using namespace std;
    int main() {
        cout<<"  *"<<endl;
        cout<<" ***"<<endl;
        cout<<"*****"<<endl;
        cout<<" ***"<<endl;
        cout<<"  *"<<endl;
        yy
    }
    • 1
      @ 2025-8-28 11:23:41
      #include<bits/stdc++.h>
      using namespace std;
      int main(){
      	cout<<R"(  *
       ***
      *****
       ***
        *
      
      )";
      	return 0;
      }
      
      
      • 1
        @ 2025-3-30 19:59:20

        仅供参考

        #include <iostream>
        using namespace std;
        int main() {
        	cout << "  *\n ***\n*****\n ***\n  *" ;
        	return 0;
        }
        
        • 0
          @ 2025-9-21 19:46:00
          #include <iostream>
          using namespace std;
          int main(){
          	cout<<"  *\n ***\n*****\n ***\n  *";
          	return 0;
          }
          
          
          • -1
            @ 2025-2-16 10:21:33

            水题

            #include<bits/stdc++.h>
            using namespace std;
            int main(){
                cout<<"  *"<<endl;
                cout<<" ***"<<endl;
                cout<<"*****"<<endl;
                cout<<" ***"<<endl;
                cout<<"  *"<<endl;
                return 0;
            }
            
            • -2

              #include<bits/stdc++.h> using namespace std; int main() { cout<<" *"<<endl; cout<<" "<<endl; cout<<"**"<<endl; cout<<" ***"<<endl; cout<<" *"<<endl; return 0; }

              • 1

              信息

              ID
              4475
              时间
              1000ms
              内存
              128MiB
              难度
              1
              标签
              (无)
              递交数
              324
              已通过
              196
              上传者