4 条题解

  • 0
    @ 2024-12-5 20:59:45

    #include<bits/stdc++.h> using namespace std; int main(){ char a,b,c; cin>>a; cout<<" "<<a<<" "<<endl; cout<<" "<<a<<a<<a<<" "<<endl; cout<<a<<a<<a<<a<<a; return 0; } //最简单的办法

    • 0
      @ 2024-12-5 16:08:18
      s = input()
      print("  " + s)
      print(" " + s * 3)
      print(s * 5)
      
      • 0
        @ 2024-11-19 20:01:49

        #include using namespace std; int main(){ char ch; cin>>ch; cout<<" "<<ch<<endl; cout<<" "<<ch<<ch<<ch<<endl; cout<<ch<<ch<<ch<<ch<<ch; }

        • 0
          @ 2024-11-16 21:57:37

          显而易见,结果就是输出第一行 11 个字符,第二行 33 个字符,第三行 55 个字符。

          #include<iostream>
          using namespace std;
          int main(){
          	char ch;
          	cin>>ch;
          	cout<<"  "<<ch<<endl<<" ";
          	cout<<ch<<ch<<ch<<endl;
          	cout<<ch<<ch<<ch<<ch<<ch;
          }
          
          
          • 1

          信息

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