//TFoldy.cc //2007 ECNA #include using namespace std; char folds[31]; int repeats, n, l, power, m, x, y; int Pivot[31], Px[31], Py[31]; void ComputePivot(int p){ //cout<<"ComputePivot "< -1 && Pivot[newpower]>newcorner) newpower--; ComputeCoordinates(newcorner, newpower, x, y); PivotXY(x,y,power); //pivot (x,y) about (Px[power],Py[power]) in direction // folds[power] } //cout<<'('<>repeats; for(int i=0; i>folds; cin>>n; l = strlen(folds); if (n==0) cout<<"(0,0)"<