#include <iostream>using namespace std;int main () { int a ; while(cin>>a,a>0){for(int i=a-1;i>0;i--){for(int j=1;j<=i;j++){ cout<<"_"; }cout<<endl;}}return 0;}
我打到這就卡住了= =