4 条题解

  • 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-3-30 19:59:20

      仅供参考

      #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
          标签
          (无)
          递交数
          231
          已通过
          138
          上传者