题解列表

筛选

最基本的思路这道题

摘要:解题思路:利用不断输入想到while,然后利用字符数组将小写字母-32变成大写字母;注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){  ……

思路很简单,小学水平

摘要:解题思路:自己能够猜到 邮局的点肯定位于n户人家所包围形成的长方形内 讲每个点到n户人家的距离算出找最小就行注意事项:参考代码:#include<bits/stdc++.h>using namespa……

1095: The 3n + 1 problem

摘要:解题思路:注意事项:参考代码:#includeint asd(int n){    int a; if (n % 2 == 0) { a = 1; } else { a = 0; } return……

3006: 适合晨练

摘要:解题思路:根据题意得条件即可注意事项:注意条件判断参考代码:#include<stdio.h>int main(){    int t;    scanf("%d",&t);    if(25<=t ……

新手简易常规

摘要:解题思路:常规注意事项:等于号是”==“                赋值 是   ”=“参考代码:#include<stdio.h>int main(){    int num=100;    i……