eolymp
bolt
Try our new interface for solving problems
Problems

Bowl for snowflakes

published at 2/13/24, 12:59:47 pm

ll n; cin>>n; for(int i=0; i<n; i++) { for(int j=0; j<i; j++) { cout<<" "; } for (int j=0; j<2n-1-2i; j++) { if(j==0 or j==2n-2-2i) cout<<"@"; else cout<<"*"; } cout<<en; } // my most annoying type of question :(