CCF CSP201803-2碰撞的小球 简单模拟 #include<iostream> #include<cstring> #include<algorithm> using namespace std; struct Ball{ int point,v,sno; }ball[110]; bool cmp1(Ball a,Ball b){ if(a.point == b.point) return a.sno < b.sno; return a.point < b