1208: [HNOI2004]宠物收养所Time Limit:10 SecMemory Limit:162 MBSubmit:4278Solved:1624[Submit][Status]Description最近,阿Q开了一间宠物收养所。收养所提供两种服务:收养被主人遗弃的宠物和让新的主人领养这...
分类:
其他好文 时间:
2014-08-19 22:03:25
阅读次数:
267
大水题……不过通过这题我们应该养成一个好习惯:好好看清题……竟然没有看到时限 10sec…… 1
var i,j,n,m,ans:longint; 2 f,time,x,y:array[0..15000] of longint; 3 function
max(x,y:longint):lon...
分类:
其他好文 时间:
2014-06-08 18:38:49
阅读次数:
261
treap!var i,n,x,y,ans,a,b,root,tot,ft:longint;
l,r,s,v,hr:array[0..100000] of longint;procedure r_rotate(var x:longint); var
y:longint; begin y:=l[...
分类:
其他好文 时间:
2014-06-02 11:50:43
阅读次数:
181