题解列表

筛选

没有比我更直观的了吧

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>struct stu{    char num[100];    char name[100];……

题解 1147: C语言训练-角谷猜想

摘要:解题思路:没什么难想的。注意事项:在写判断奇数时要再写个不等于1,不然会无限重复。参考代码:#include <bits/stdc++.h>using namespace std;int main()……

<c语言>while输出的纠正#输出时机的选择

摘要:解题思路:输入存储N,判断N以内的完数(题目要求是除本身外的因子之和等于本身),判断符合的数,输出该数并储存输出该数的因子。有意思的就是用数组来存储因子,原本我的构思都是写两个函数再加指针来写,后来我……

数1的个数,题目短吗

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,n,c,y,x,h;    int count=0,b=0;    scanf("%d",&n……

java--study||O.o

摘要:参考代码:import java.util.Scanner; public class Main {   public static void main(String[] args)    ……