题解列表

筛选

感谢支持,谢谢你们的支持

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int n,cj,maxx=0;;    cin>>……

最高的分数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int n,maxx=0,a;    cin>>n;……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int maxmum(int x, int y){    return x > y ? x : y;……

题目 1434: 蓝桥杯历届试题-回文数字题解

摘要:1.解题思路先把每个从10000~999999的数都查一遍,输出和为n且是回文数的。确定回文数的方法:有一个数,例如t=i=1331,把末位放到num的末尾,当t小于1时停止。(1331,0)->(1……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct prut{    char MC[101];    double DJ;    int ML;};int main(){ ……

分段函数1067

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

自定义函数

解题思路:注意事项:参考代码:importjava.util.Scanner;packageDemon2;//题目1066importjava.util.Scanner;publicclass自定义函数{//计算阶乘的方法publicstaticdoublefact(intn){if(n==1){re

判断第几天

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() {    int y, m, d;    while (scanf("%d/%d/%d", &y, &m, &d……

1033题: 自定义函数之字符提取

#自己写的代码```c#include#includevoidfun(a[]){charb[20];}intmain(){chara[20];intlen;len=strlen(a);gets(a);fun(a[]);return0;}```#思路局限性主要是不会从主函数中调用其他函数,