2016年2月19日

[2016-02-19][UVA][129][Krypton Factor]

摘要: [2016-02-19][UVA][129][Krypton Factor] UVA - 129 Krypton Factor Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status De 阅读全文

posted @ 2016-02-19 23:08 红洋 阅读(324) 评论(0) 推荐(0)

[2016-02-19][UVA][524][Prime Ring Problem]

摘要: [2016-02-19][UVA][524][Prime Ring Problem]UVA - 524Prime Ring ProblemTime Limit: 3000MSMemory Limit: Unknown64bit IO Format: %lld & %lluSubmit StatusDescriptionA ring is composed of n (even number) ci... 阅读全文

posted @ 2016-02-19 21:47 红洋 阅读(170) 评论(0) 推荐(0)

[2016-02-19][UVA][11059][Maximum Product]

摘要: [2016-02-19][UVA][11059][Maximum Product] 时间:2016-02-19 00:32:21 星期五题目编号:UVA 11059题目大意:给定n,和长度为n 的序列,求最长连续序列,使得乘积最大,如果乘积为负数,则输出0分析:最多18个数字,每个数字最大为10最小为-10,所以可以用longlong 保存方法:暴力枚举位置:i,j,累乘i~j范围内的数字解... 阅读全文

posted @ 2016-02-19 01:20 红洋 阅读(157) 评论(0) 推荐(0)

导航