acm 308个问题
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 /...
4

回答

2017.12.07 00:18来自 shunfurh
Configuration files
Problem Description In daily project development process, we often use to the configuration file. Now we ...
3

回答

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...
2

回答

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...
2

回答

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

回答

2017.12.02 12:43来自 shunfurh
Quicksum
Problem Description A checksum is an algorithm that scans a packet of data and returns a single number. The...
2

回答

共308条数据 1 3 4 ... 尾页