二级C语言-计算素数和 注意处理数字1 摘要: 解题思路:遍历 2~x-1 检查isprime?遍历 m~n 求和处理数字 1 注意事项: 数字 1既不质数也不是合数。参考代码:#include<stdio.h>int …… 题解列表 2021年03月30日 0 点赞 0 评论 286 浏览 评分:0.0
链表的基本操作(C语言代码) 摘要:解题思路:注意事项:main函数结束及删除节点时,删除malloc申请的堆空间,避免内存泄漏参考代码:#include <stdio.h> #include <stdlib.h> /** 链表…… 题解列表 2021年03月30日 0 点赞 0 评论 330 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量-题解(C++代码) 摘要:解题思路:找到三个数的最小公约数即可注意事项:公约数从1开始找参考代码:#include<bits/stdc++.h> using namespace std; int main(){ …… 题解列表 2021年03月30日 0 点赞 0 评论 194 浏览 评分:9.9
水仙花数的判断 摘要:采用for循环语句。 #include int main() { int a,b,c,d,ji,i; for(i=100;i…… 题解列表 2021年03月30日 0 点赞 0 评论 547 浏览 评分:0.0
蓝桥杯基础练习VIP-报时助手 摘要: #include using namespace std; string nums[]={"zero","one","two","three","four","five",…… 题解列表 2021年03月30日 0 点赞 0 评论 312 浏览 评分:0.0
运用string巧妙解决 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string s; while(cin>>s) { …… 题解列表 2021年03月30日 0 点赞 0 评论 206 浏览 评分:0.0
NICE!简简单单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int score,grade;while((scanf("%d",&score))!=EOF){ grade…… 题解列表 2021年03月30日 0 点赞 0 评论 319 浏览 评分:9.9
NICE!简简单单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int score,grade;while((scanf("%d",&score))!=EOF){ grade…… 题解列表 2021年03月30日 0 点赞 0 评论 267 浏览 评分:0.0
题解 1461: FJ的字符串(递归) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; string s; char a[28]="AB…… 题解列表 2021年03月29日 0 点赞 0 评论 153 浏览 评分:0.0
斐波那锲数 摘要:解题思路:注意事项:参考代码:package VIP题库;import java.util.Scanner;/* * 斐波纳契数列 1,1,2,3,5,8,13,21,34,55,89……这个数列则称…… 题解列表 2021年03月29日 0 点赞 0 评论 362 浏览 评分:9.9