奇数个数-题解(C语言代码) 摘要:解题思路:注意事项:除以二的数是偶数;参考代码:#include <stdio.h>#include <string.h>int main(){ char a[50]; scanf("%s",&a);…… 题解列表 2020年08月25日 0 点赞 0 评论 774 浏览 评分:5.0
蓝桥杯2019年第十届真题-特别数的和-题解(Java代码) 摘要: import java.util.Scanner; public class Main { public static void main(St…… 题解列表 2020年09月08日 0 点赞 0 评论 1817 浏览 评分:5.0
母牛生小牛-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a[60]={0,1,1,1}; scanf("%d",&n); for(i=4;i<n+1;i…… 题解列表 2020年11月13日 0 点赞 0 评论 817 浏览 评分:5.0
校门外的树-题解(Java代码) 摘要:解题思路:运用数组来标识树的存在与否注意事项:注意两端都有一棵树,实际树的数量是输入道路长度+1参考代码:import java.util.Arrays;import java.io.Buffered…… 题解列表 2020年12月01日 0 点赞 0 评论 721 浏览 评分:5.0
huiwenshupanduan 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "string.h"int PANDUAN(char s[100]) { int h = strlen(s); fo…… 题解列表 2021年08月20日 0 点赞 0 评论 339 浏览 评分:5.0
什么是宏定义?反正这样可以写 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main () { int a,b; scanf("%d%d",&a,&b); printf("%d…… 题解列表 2021年11月11日 0 点赞 0 评论 393 浏览 评分:5.0
c++分段函数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double x; cin>>x; if(x<0){ pr…… 题解列表 2021年11月13日 0 点赞 0 评论 619 浏览 评分:5.0
找规律再求和 摘要:解题思路:发现他跟斐波那契数列有关,先斐波那契数列再调用注意事项:参考代码:#include<stdio.h>int fabonacia(int n){ if(n==1||n==2) return 1…… 题解列表 2021年11月28日 0 点赞 0 评论 439 浏览 评分:5.0
编写题解 1157: 亲和数,自定义函数 摘要:解题思路:注意事项:参考代码:def snum(a): # 定义一个函数,返回数的所有真因数的和 s = 0 for …… 题解列表 2021年12月19日 0 点赞 0 评论 459 浏览 评分:5.0
BigInteger 的快速幂函数modpow()和算法解决 摘要:解题思路:注意事项:参考代码:BigInteger的快速幂函数:import java.math.BigInteger;import java.util.*;public class Main{ …… 题解列表 2022年01月28日 0 点赞 0 评论 1034 浏览 评分:5.0