冯晟轩题解
反斜线形图案
http://www.nowcoder.com/questionTerminal/7b066963c4eb4d188becd18c37dfe22d
include <bits/stdc++.h>
using namespace std;
int main()
{
int l;
while(cin>>l)
{
for(int i=0;i<l;i++)
{
for(int j=0;j<i;j++)
{
cout <<" ";
}
cout << "*";
for(int k=0;k<l-i;k++)
{
cout<< " ";
}
cout << endl;
}
}
return 0;
}