摘要:
You are givennk-digit integers. You have to rearrange the digits in the integers so that the difference between the largest and the smallest number wa... 阅读全文
摘要:
/* map 向量可以存东西与数的大小无关,只与数的数目有关 */#include#include#include#includeusing namespace std;mapa;int main(){ for(int i = 0; i <= 32000; i++){ a[... 阅读全文
摘要:
Right turnfrog is trapped in a maze. The maze is infinitely large and divided into grids. It also consists ofnobstacles, where thei-th obstacle lies i... 阅读全文