PSNote/Problem Solving [BOJ-14581]팬들에게 둘러싸인 홍준 WONDY 2017. 7. 17. 04:04 단순 출력문제click source (C++11)접기 123456789101112131415#include<cstdio>char fan[6] = ":fan:";char input[33];int main(){ scanf("%s", input); for(int r = 0 ; r < 3 ; r++){ for(int c = 0 ; c < 3 ; c++){ if(r==1 && c==1) printf(":%s:",input); else printf("%s",fan); } puts(""); } return 0;} Colored by Color Scriptercs 접기