题解列表

筛选

字符串移位包含问题Java

摘要:解题思路:注意事项:参考代码:public class Test {    public static void main(String[] args) {        Scanner scanne……

寻找矩阵最值——C语言

摘要:解题思路:首先预定义一个最大值max,然后与每次输入的数组元素及逆行比较,如果输入的元素的绝对值大于等于max则令max等于新输入数组中的值,同时改变预定义的最大值的下标注意事项:参考代码:#incl……

计算星期几

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {……

题解 2819:数字反转

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main {    public static void main(String[] args……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int a, int b){ int temp; while (a % b != 0) { temp = a % b;……

c语言代码解决问题

摘要:解题思路:注意事项:#include<stdio.h>#include<string.h>#include<stdlib.h>typedef struct student{ char id[21]; ……

电报加密(C语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[100];    gets(a);    int i; ……

查找特定的值

摘要:解题思路:首先通过scanf获取数据,接着对给定的一串数据,通过数组记录,开始获取的数据即为数组长度,再由这个数组长度来声明数组,并通过循环遍历给数据赋值,至此已经获得了一串代找数据,然后先给一共变量……