题解列表

筛选

密码破译(直接法)

#includeusingnamespacestd;intmain(){charc1,c2,c3,c4,c5;c1='C';c2='h';c3='i';c4='n';c5='a';c1+=4;c2+=4;c3+=4;c4+=4;c5+=4;cout

简单的 a + b

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

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

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

题解 1267: A+B Problem

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int x,y;    cin>>x>>y;    int a=……