简单易懂!!! 摘要:解题思路:注意事项:scanf("%d\n",&n);只有这样写是对的,如果写成scanf("%d",&n);getchar();//用getchar读取换行符是错的,不知道为什么,希望有大神指导参考…… 题解列表 2023年02月22日 0 点赞 0 评论 651 浏览 评分:0.0
C语言 破解简单密码 算法简单 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>void fun(char s[]){ int i; …… 题解列表 2023年02月23日 0 点赞 0 评论 566 浏览 评分:0.0
C语言链表解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h> typedef struct Link{ int data; struct Link *next; }Link; //循…… 题解列表 2023年02月23日 0 点赞 0 评论 615 浏览 评分:0.0
记录解题过程。 摘要:解题思路: 注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double x1, x2,x3,x4; d…… 题解列表 2023年02月23日 0 点赞 0 评论 585 浏览 评分:0.0
简单易懂!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[25],str2[25]; gets(str); char…… 题解列表 2023年02月23日 0 点赞 0 评论 596 浏览 评分:0.0
借鉴楼上的 存下来 以后多看看 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char a[1000];int b[1000],c[1000],d[1000],k…… 题解列表 2023年02月23日 0 点赞 0 评论 558 浏览 评分:0.0
简单点自由下落问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>float geat(int k){ float s=1.0; float a=1/2.0; for(int i=0;i<k…… 题解列表 2023年02月23日 0 点赞 0 评论 473 浏览 评分:0.0
自守数问题 摘要:解题思路:注意事项:用long型,不然会超出范围参考代码:public class Main { public static void main(String[] args) { …… 题解列表 2023年02月23日 0 点赞 0 评论 581 浏览 评分:0.0
用简单素数筛选法求N以内的素数。 摘要:n = int(input()) #输入n 值for i in range(2,n+1): #循环 1 ——n for j in range(2,i): #循环 2 —— i …… 题解列表 2023年02月24日 0 点赞 0 评论 527 浏览 评分:0.0
蓝桥杯算法提高VIP-乘法运算 解题思路:注意事项:参考代码:m,n=map(int,input().strip().split())g=s=yh=er=jg=0g=n%10s=n//10yh=m*ger=s*mjg=yh+er*10print(f'{m:4d}'.format(m))#两位数与两位数相乘最多四位结果 题解列表 2023年02月24日 0 点赞 0 评论 767 浏览 评分:0.0