摘要:
There are N gas stations along a circular route, where the amount of gas at station i isgas[i]. You have a car with an unlimited gas tank and it costs 阅读全文
posted @ 2016-06-27 17:25
ranran1203
阅读(130)
评论(0)
推荐(0)
摘要:
string 由头文件<string>支持,支持的对象可以是字符也可以是宽字符 1、初始化 string str("1234567"); char ch[]="abcdefg"; string a; string str_1(str);//使用str初始化 string str_2(str,2,5) 阅读全文
posted @ 2016-06-27 14:52
ranran1203
阅读(209)
评论(0)
推荐(0)
摘要:
There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following re 阅读全文
posted @ 2016-06-27 10:42
ranran1203
阅读(196)
评论(0)
推荐(0)

浙公网安备 33010602011771号