版本比较
题解 P1233 【木棍加工】
正文
增加 8 行删除 8 行
12 行未改动1314151617181718192021222 行未改动25262728292930313232333435365 行未改动42434445464748494647484950515212 行未改动于是答案就转化为了统计栈的数量
### code```c#include<stdio.h> #include<algorithm> #include<stdio.h>#include<algorithm>using namespace std;struct node { int a,b;}se[5100];2 行未改动bool operator < (const node &x,const node &y) { return x.a>y.a;}
int main() int main(){ scanf("%d",&n); for(int i=1;i<=n;++i) for(int i=1;i<=n;++i) scanf("%d%d",&se[i].a,&se[i].b); sort(se+1,se+1+n); for(int i=1;i<=n;++i) { int d=1;5 行未改动 return 0;}/*54 9 5 2 2 1 3 5 4 95 22 13 51 4*/```