예제 #1
0
파일: Common.cpp 프로젝트: Lin53/playground
 string print() {
   ostringstream S;
   S << "_PAIR(new " << E1->print() << ",new " << E2->print() << "," << A1 << "," << A2 << "," << d1 << "," << d2 << ")";
   return S.str();
 }
예제 #2
0
파일: Common.cpp 프로젝트: Lin53/playground
 // Usefull to generate the code that will initialize the submitted solution.
 string print() {
   ostringstream S;
   S << "Bucket(" << N << ", new " << E->print() << "," << alpha << ")";
   return S.str();
 }