题解列表

筛选

优质题解

【C语言】最多的水:本质上是算最大面积 - DotcppXF

摘要:【解题思路】        ① 其实题目很简单,但是题目描述写的不太严谨,一开始很迷惑,怎么直线能成为容器了?水量的单位是啥?        ② 后来大概明白要干啥后,不如重新表述一下题目:给定n个非……

纯数学题,没意思

摘要:解题思路:注意事项:参考代码:a, b = map(int, input().split())c = abs(b - a)print(c - (a % c))……

简单的 a + b

摘要: #include using namespace std; int main() { int a, b; while (cin >……

母牛的故事

摘要: #include using namespace std; int main() { int a[55] = { 0,1,2,3,4 }, i, n;……