Hình chữ nhật dấu sao

View as PDF



Author:
Problem types
Allowed languages
C++, Clang, Clang++, Cobol, D, Groovy, Haskell, JS, Lua, Node JS, ObjectiveC, Prolog, Python, Scala
Points: 100 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

In ra hình vẽ sau:

Output

**********
**********
**********

Comments


  • -1
    tuan8cnc    10:29 p.m. 1 nov, 2024
    #include <bits/stdc++.h>

    using namespace std;
    int main() {
    cout <<"**"<<endl;
    cout <<"
    **"<<endl;
    cout <<"****"<<endl;
    return 0;
    }


    • 0
      GamerRobotSplash    7:16 a.m. 19 sep, 2024

      Code python 3 tốt nhất

      print("""**********
      **********
      **********
      """)
      


      • 0
        nguyenthienan310314    5:25 p.m. 30 aug, 2024

        print('**')
        print('
        **')
        print('****')


        • 3
          kietlqt    9:39 a.m. 28 jul, 2024
          Code C++ tham khảo
          #include<bits/stdc++.h>
          using namespace std;
          int main() {
              std::cout << "**********" << std::endl;
              std::cout << "**********" << std::endl;
              std::cout << "**********" << std::endl;
          }
          
          Code Python tham khảo
          print('**********')
          print('**********')
          print('**********')
          
          Code Clang++ tham khảo
          #include<stdio.h>
          int main ()
          {
              printf ("**********") ;
              printf ("\n");
              printf ("**********") ;
              printf ("\n");
              printf ("**********") ;
              printf ("\n");
          }
          

          • 0
            kietlqt    8:22 p.m. 10 jun, 2024

            python 1 đấm ăn luôn


            • 0
              PhucMessi171011    9:16 a.m. 8 jun, 2024

              for i in range(3):
              print('****')


              • 0
                HongPhuc170411    8:32 p.m. 7 jun, 2024

                code dễ:
                print('**')
                print('
                **')
                print('**')
                code PHỨC TẠP:
                for i in range(3):
                print('
                **')


                • 0
                  khai434343    8:44 p.m. 20 may, 2024

                  scratch buồn

                  1 reply

                  • 0
                    kay    8:21 p.m. 7 mar, 2024

                    print("**")
                    print("
                    **")
                    print("****")


                    • 0
                      Sangnguyen155    8:27 p.m. 17 oct, 2023

                      print('********')
                      print('
                      ********')
                      print('
                      ********')

                      • 5 more comments