题解列表

筛选

三目运算整数大小比较

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d",&a,&b);    if(a==b)    print……

甲流病人初筛

摘要:解题思路:注意事项:参考代码:#includestruct pepole{      char name[200];      float t;      char number;}a[200];in……

蛇形矩阵C语言

摘要:解题思路:计算出矩阵中最大值为多少,然后再计算矩阵各个值。注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][……

1761: 学习ASCII码

摘要:只要进行int和char之间的的转换就行了 ```cpp #include using namespace std; int main() { cout……

1003密码破译

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char arr[20]={0};//定义一个随机长度的字符串数组 sc……

李白打酒加强版

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int n,m,dp[210][110][110];    ci……

1955: 贷款计算

摘要:```cpp #include using namespace std; int main() { int total,month,money; float rate; ……

短路运算代替判断语句

摘要:解题思路:利用逻辑运算进行短路运算注意事项:考虑逻辑运算表参考代码:#include <stdio.h>int main() {    int n;    scanf("%d",&n);    n%3……