摘要: 链接:https://ac.nowcoder.com/acm/contest/297/B来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述小w与tokit... 阅读全文
posted @ 2018-12-14 21:04 black_hole6 阅读(219) 评论(0) 推荐(0)
摘要: 链接:https://ac.nowcoder.com/acm/contest/297/B来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述小w与tokit... 阅读全文
posted @ 2018-12-14 21:04 black_hole6 阅读(241) 评论(0) 推荐(0)
摘要: 链接:https://ac.nowcoder.com/acm/contest/297/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述 不知道你听没听... 阅读全文
posted @ 2018-12-14 21:01 black_hole6 阅读(270) 评论(0) 推荐(0)
摘要: 链接:https://ac.nowcoder.com/acm/contest/297/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述 不知道你听没听... 阅读全文
posted @ 2018-12-14 21:01 black_hole6 阅读(226) 评论(0) 推荐(0)
摘要: Polycarp has nn coins, the value of the ii-th coin is aiai. Polycarp wants to distribute all the coins between his pockets, but he can... 阅读全文
posted @ 2018-12-14 18:02 black_hole6 阅读(139) 评论(0) 推荐(0)
摘要: Polycarp has nn coins, the value of the ii-th coin is aiai. Polycarp wants to distribute all the coins between his pockets, but he can... 阅读全文
posted @ 2018-12-14 18:02 black_hole6 阅读(277) 评论(0) 推荐(0)
摘要: Duff is addicted to meat! Malek wants to keep her happy for n days. In order to be happy in i-th day, she needs to eat exactly ai kilo... 阅读全文
posted @ 2018-12-14 11:13 black_hole6 阅读(229) 评论(0) 推荐(0)
摘要: Duff is addicted to meat! Malek wants to keep her happy for n days. In order to be happy in i-th day, she needs to eat exactly ai kilo... 阅读全文
posted @ 2018-12-14 11:13 black_hole6 阅读(160) 评论(0) 推荐(0)
摘要: Eugeny has array a = a1, a2, ..., an, consisting of n integers. Each integer ai equals to -1, or to 1. Also, he has m queries:Query nu... 阅读全文
posted @ 2018-12-14 10:49 black_hole6 阅读(238) 评论(0) 推荐(0)
摘要: Eugeny has array a = a1, a2, ..., an, consisting of n integers. Each integer ai equals to -1, or to 1. Also, he has m queries:Query nu... 阅读全文
posted @ 2018-12-14 10:49 black_hole6 阅读(143) 评论(0) 推荐(0)