2018.09.14 23:46来自 weixin_39936277

[已解决] 【ACM】【线段树】I Hate It

# Input 本题目包含多组测试,请处理到文件结束。 在每个测试的第一行,有两个正整数 N 和 M ( 0<N<=200000,0<M<5000 ),分别代表学生的数目和操作的数目。 学生...
1

回答

2018.03.23 11:22来自 jiujiu28 悬赏 10C

[已解决] 一个C语言算法题目,帮忙给个思路

【问题描述】 现有n堆球,其中n是偶数,第i堆中有 ai 个球。现需要将其中 n / 2 堆中的球数全变成完 全平方数,另外的 n / 2 全不为完全平方数。你每一次操作可以选择任意一堆增加或拿走(前 提不为 0)...
acm
2

回答

2017.12.09 15:15来自 sinat_37676560

[已解决] Fibonacci数列 (蓝桥杯试题集)

``` #include <iostream> using namespace std; #define mod 10007 //定义除数 #define max 1000001 /...
3

回答

2017.12.07 00:18来自 shunfurh

[已解决] Configuration files

Problem Description In daily project development process, we often use to the configuration file. Now we ...
2

回答

2017.12.05 15:34来自 shunfurh

[已解决] Catch the Bus!

Problem Description ACM needs to deliver marketing materials to one of their clients. Both ACM and the clie...
1

回答

2017.12.04 12:49来自 shunfurh

[已解决] TT

Problem Description Association of Collision Management (ACM) is planning to perform the controlled collisi...
1

回答

2017.12.03 10:11来自 shunfurh

[已解决] Beat

Problem Description Zty is a man that always full of enthusiasm. He wants to solve every kind of difficulty...
1

回答

2017.12.03 00:56来自 shunfurh

[已解决] 找单词

Problem Description 假设有x1个字母A, x2个字母B,..... x26个字母Z,同时假设字母A的价值为1,字母B的价值为2,..... 字母Z的价值为26。那么,对于给定的字母,可以找到多少...
1

回答

2017.12.02 23:43来自 shunfurh

[已解决] Random Walking

Problem Description The Army of Coin-tossing Monkeys (ACM) is in the business of producing randomness. Good...
1

回答

2017.12.02 14:19来自 shunfurh

[已解决] Beat

Problem Description Zty is a man that always full of enthusiasm. He wants to solve every kind of difficulty...
2

回答