fork(1) download
  1. #include<string>
  2. main(){int n;std::string s;scanf("%d",&n);for(;n--;)puts((s+="*").data());}
Success #stdin #stdout 0s 3472KB
stdin
3
stdout
*
**
***