上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: Y_UME has just found a number x in his right pocket. The number is a non-negative integer ranging from 0 t... 阅读全文
posted @ 2019-07-28 23:36 完全墨染的樱花 阅读(110) 评论(0) 推荐(0)
摘要: 本题是要求你找出一个组内比原字符串权值大的前缀,而一个组内包含了其他字符串的前缀,但可能也适配于这个字符串。所以说要记录这些前缀的个数才能解出这个问题。一个方法是用std::map这样的一个红黑树字典,可以直接把... 阅读全文
posted @ 2019-07-28 23:36 完全墨染的樱花 阅读(488) 评论(0) 推荐(0)
摘要: Problem Description 一个简单的行编辑程序的功能是:接受用户从终端输入的程序或数据,并存入用户的数据区。 由于用户在终端上进行输入时,不能保证不出差错,因此,若在编辑程序中,“每接受一个字符即... 阅读全文
posted @ 2019-07-28 23:35 完全墨染的樱花 阅读(226) 评论(0) 推荐(0)
摘要: After playing Neo in the legendary "Matrix" trilogy, Keanu Reeves started doubting himself: maybe we reall... 阅读全文
posted @ 2019-07-28 23:35 完全墨染的樱花 阅读(204) 评论(0) 推荐(0)
摘要: Vasya has an array a1,a2,…,an.Vasya有一个数组,a1,a2,...,anYou don't know this array, but he told you m facts ab... 阅读全文
posted @ 2019-07-28 23:35 完全墨染的樱花 阅读(199) 评论(0) 推荐(0)
摘要: The letters shop showcase is a string ss, consisting of n lowercase Latin letters. As the name tells, lett... 阅读全文
posted @ 2019-07-28 23:35 完全墨染的樱花 阅读(255) 评论(0) 推荐(0)
摘要: Problem Description给一个初始的入栈序列,其次序即为元素的入栈次序,栈顶元素可以随时出栈,每个元素只能入栈依次。输入一个入栈序列,后面依次输入多个序列,请判断这些序列是否为所给入栈序列合法的出栈... 阅读全文
posted @ 2019-07-28 23:35 完全墨染的樱花 阅读(298) 评论(0) 推荐(0)
摘要: Problem Description 现在银行已经很普遍,每个人总会去银行办理业务,一个好的银行是要考虑 平均逗留时间的,即: 在一定时间段内所有办理业务的人员逗留的时间的和/ 总的人数。逗留时间定义为 人员离... 阅读全文
posted @ 2019-07-28 23:35 完全墨染的樱花 阅读(204) 评论(0) 推荐(0)
摘要: Problem Description对于一个基于二元运算符的算术表达式,转换为对应的后缀式,并输出之。Input输入一个算术表达式,以‘#’字符作为结束标志。Output输出该表达式转换所得到的后缀式。Samp... 阅读全文
posted @ 2019-07-28 23:35 完全墨染的樱花 阅读(207) 评论(0) 推荐(0)
摘要: Bobo has a triangle ABC with A(x1,y1),B(x2,y2 and C(x3,y3). Picking a point P uniformly in triangle ABC, h... 阅读全文
posted @ 2019-07-28 23:35 完全墨染的樱花 阅读(421) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页