题解列表

筛选

JAVA解决成绩判定

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

2863: 删除单词后缀

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

2855: 简单密码

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

C语言训练-亲密数(C++简短清晰)

摘要:写个求因数函数,在主函数里面调用会看的更清晰,不然主函数一堆for难看,仔细审题#include<iostream> using namespace std; int Sum(int n)    ……

2848: 基因相关性

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() {     char str1[505] = {0}, str……

时间效率题

摘要:解题思路:1、最菜鸟的解题方法:就是遍历使用双层for把两个数遍历出来,然后在里面调用一个函数,函数的用途是判断这两个数是否是亲密数,函数参数是遍历的两个数。然后函数体定义部分是,使用for循环把这两……