1 solutions

  • 0
    @ 2024-7-20 19:37:46

    水题还来copy题解?

    #include<bits/stdc++.h>
    using namespace std;
    char c='*';
    int main(){
    	printf("  %c  \n",c);
    	printf(" %c%c%c \n",c,c,c);
    	printf("%c%c%c%c%c\n",c,c,c,c,c);
    	printf(" %c%c%c \n",c,c,c);
    	printf("  %c  \n",c);
    	return 0;
    }
    
    • 1

    Information

    ID
    6869
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    # Submissions
    10
    Accepted
    8
    Uploaded By