{
itemid:“272475230”,
item_name:“又再又环北冰洋”,
stock:11,
price:“11111.00”,
sold:0,
seller_id:“406467”,
istop:0,
merchant_code:“2e”,
fx_fee_rate:“0.00”,
status:"onsale",
skus:[{
id:“914449912”,
title:“gold”,
price:“11111.00”,
stock:“11..
分类:
其他好文 时间:
2015-05-16 18:45:11
阅读次数:
315
Gold Nuggets Distribution(0490)Time limit(ms): 1000Memory limit(kb): 65535Submission: 421Accepted: 234DescriptionBosses have a bag of gold. Each month...
分类:
其他好文 时间:
2015-05-08 21:51:40
阅读次数:
200
Gold TransportationTime Limit:2000MSMemory Limit:65536KTotal Submissions:3060Accepted:1089DescriptionRecently, a number of gold mines have been discov...
分类:
其他好文 时间:
2015-05-08 12:45:47
阅读次数:
120
题意:
给N个字符,每次只能取第一个或者最后一个,问构成最小字典序的串是什么。
思路:
贪心,每次取字典序最小的串,的首字符。
其实就是l和r比较一下构成的串那个字典序小。
这里运用后缀数组要实现O(1)的查询。
将原串反拼进串内做da。
然后根据ra判断。
代码:
#include"cstdlib"
#include"cstdio"
#include"cstring"
#inc...
分类:
编程语言 时间:
2015-05-07 16:47:58
阅读次数:
147
Problem StatementYou are a goblin miner. Your job is to mine gold.Picture yourself located in a mine. The mine can be seen as a rectangular grid of (N+1) times (M+1) cells. Rows are numbered 0 through...
分类:
其他好文 时间:
2015-05-07 16:41:22
阅读次数:
122
B - Discovering Gold
Description
You are in a cave, a long cave! The cave can be represented by a 1 x N grid. Each cell of the cave can contain any amount of gold.
Initially you are in positi...
分类:
其他好文 时间:
2015-05-05 08:54:20
阅读次数:
129
@keyframes fadein { 0%{ opacity:0; background-color:red; } 40% { background-color:darkblue; } 70% { background-color:gold; } 100% { opacity:1; backg.....
分类:
Web程序 时间:
2015-05-04 19:59:58
阅读次数:
149
题目:给你一个二维的地图,里面有陷阱'T',金子'G'以及墙壁'#',和普通的道路'.',现在已知一个人在起点'P';
每次只能走到上下左右4个方向的格子,如果走到一个格子周围有陷阱,人就会停下不走,防止陷阱;
问最多能得到多少金子。
分析:图论,搜索。直接利用dfs求解即可,把'T'周围的点标记成停止即可。
说明:╮(╯▽╰)╭。
#in...
分类:
其他好文 时间:
2015-05-02 08:29:16
阅读次数:
163
数字无线通信既可以一直传送比特流,也可以以数据包的形式分组传送。以数据包的形式进行传送叫做分组无线电(packet radio)。FCC美国联邦通信委员会。LEO低轨道地球卫星系统,MEO中轨道地球卫星系统,GEO地球同步轨道卫星。离地面越高传输时延越大。复用相同信道组不同小区间的干扰称为小区间干扰...
分类:
其他好文 时间:
2015-05-01 19:53:21
阅读次数:
192
You are in a cave, a long cave! The cave can be represented by a 1 x N grid. Each cell of the cave can contain any amount of gold.Initially you are in position 1. Now each turn you throw a perfect 6 si...
分类:
其他好文 时间:
2015-04-29 21:52:26
阅读次数:
177