版本比较
题解:P16434 [APIO 2026 中国赛区] 蛋糕
正文
增加 1 行删除 1 行
96 行未改动9798991001011011021031041053 行未改动96 行未改动 tmp.push_back(100+pw3[i+1]); } int res=compare_tastiness({100+x+pw3[i], 100+x+2*pw3[i]}, tmp); if(res==0) x+=pw3[i]; else if(res==1) x+=2*pw3[i]; else if(res==1) x+=2*pw3[i]; } return x; }}3 行未改动