蓝桥杯2014年第五届真题-兰顿蚂蚁-题解(C语言代码) 摘要:解题思路:#include <stdio.h> int m,n,a[101][101],x,y,num; char f; int ant() //蚂蚁往哪个方向走 { int i=0; …… 题解列表 2020年07月22日 0 点赞 0 评论 990 浏览 评分:0.0
二级C语言-分段函数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ double x = 0, y = 0; scanf("%lf",&x); if(x < 1) { y = x;…… 题解列表 2020年07月22日 0 点赞 4 评论 3642 浏览 评分:9.9
二级C语言-温度转换-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double F = 0; scanf("%lf",&F); printf("%0.…… 题解列表 2020年07月22日 0 点赞 2 评论 1812 浏览 评分:9.0
二级C语言-进制转换-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int num = 0; scanf("%d",&num); printf("%o\n"…… 题解列表 2020年07月22日 0 点赞 0 评论 1109 浏览 评分:9.9
蓝桥杯历届试题-连号区间数-题解(C++代码)by Zfans 摘要:```cpp /*标题:连号区间数 小明这些天一直在思考这样一个奇怪而有趣的问题: 在1~N的某个全排列中有多少个连号区间呢?这里所说的连号区间的定义是: 如果区间[L, R] 里…… 题解列表 2020年07月22日 0 点赞 0 评论 850 浏览 评分:8.2
[编程入门]数字的处理与判断-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b=1,d,e,i; int c[100]; …… 题解列表 2020年07月21日 0 点赞 0 评论 418 浏览 评分:0.0
蓝桥杯算法提高VIP-欧拉函数-题解(Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2020年07月21日 0 点赞 0 评论 680 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void tiq(char *p);void tiq(char *p){ for(int i=0;*p!='\0';i+…… 题解列表 2020年07月21日 0 点赞 0 评论 346 浏览 评分:0.0
信息学奥赛一本通T1178-成绩排序-题解(C++代码) 摘要:# 自定义排序cmp即可 ```c #include using namespace std; struct T{ string a; int b; }a[25]; bool…… 题解列表 2020年07月21日 0 点赞 2 评论 2019 浏览 评分:6.5
信息学奥赛一本通T1176-谁考了第k名-题解(C++代码) 摘要:# 自定义排序cmp即可 ```c #include using namespace std; int m,n; struct T{ int a; double b; }a…… 题解列表 2020年07月21日 0 点赞 0 评论 2375 浏览 评分:5.5