
poj
lxt_love
这个作者很懒,什么都没留下…
展开
-
树状数组求逆序对数【poj2299】Ultra-QuickSort
#include<cstdio>#include<cstring>#include<algorithm>using namespace std;typedef long long LL;int a[510000],d[510000];int n;int lowbit(int x){ return x&-x;}int c[510000...原创 2018-07-02 10:53:51 · 161 阅读 · 0 评论 -
【poj2965】The Pilots Brothers' refrigerator
DescriptionThe game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.There are 16 handles on the refrigerator door. Every handle can be in o...原创 2018-07-05 09:54:21 · 228 阅读 · 0 评论 -
【高精度进制转换】【poj1220】NUMBER BASE CONVERSION
DescriptionWrite a program to convert numbers in one base to numbers in a second base. There are 62 different digits: { 0-9,A-Z,a-z } HINT: If you make a sequence of base conversions using the output ...原创 2018-07-14 11:05:55 · 236 阅读 · 0 评论