junior19

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2017年3月15日

摘要: 1682 中位数计数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 关注 中位数定义为所有值从小到大排序后排在正中间的那个数,如果值有偶数个,通常取最中间的两个数值的平均数作为中位数。 现在有n个数,每个数都是独一无... 阅读全文
posted @ 2017-03-15 23:58 junior19 阅读(161) 评论(0) 推荐(0) 编辑

摘要: B. Cthulhu time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output ...Once upon a... 阅读全文
posted @ 2017-03-15 17:10 junior19 阅读(271) 评论(0) 推荐(0) 编辑

摘要: 1770 数数字 基准时间限制:1 秒 空间限制:262144 KB 分值: 20 难度:3级算法题 收藏 关注 统计一下 aaa ⋯ aaan个a × b 的结果里面有多少个数字d,a,b,d均为一位数。 样例解释: 33333... 阅读全文
posted @ 2017-03-15 16:11 junior19 阅读(167) 评论(0) 推荐(0) 编辑

摘要: C. Board Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Polycar... 阅读全文
posted @ 2017-03-15 15:20 junior19 阅读(207) 评论(0) 推荐(0) 编辑