蓝桥杯算法提高VIP-计算时间 (C++代码) 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <stdio.h> using n…… 题解列表 2019年03月29日 1 点赞 1 评论 1698 浏览 评分:8.0
题解1032(c语言代码) 极短代码,适合小白(无gets,puts等冷门函数) 摘要:重点: 1:简单的题,不要想得那么难! 2:连接字符串无需strcpy! 无需strcpy! 无需strcpy! 3:字符串输入输出用%s!代码: #include<stdio…… 题解列表 2019年03月29日 3 点赞 4 评论 912 浏览 评分:8.0
蓝桥杯历届试题-数字游戏 (C语言代码) 摘要:解题思路:注意事项:时间复杂度O(n**2)运行超限参考代码:#include<iostream>using namespace std;int main(){ int n,k,T,target=1,…… 题解列表 2019年04月03日 0 点赞 0 评论 1042 浏览 评分:8.0
特殊排序 (C语言代码) 摘要:#include<stdio.h> int main() { int i,pi,k,j,t,x=0,n; int a[1001]; while(scanf("%d",&n)!=EOF)…… 题解列表 2019年04月05日 1 点赞 0 评论 931 浏览 评分:8.0
番18 C语言程序设计教程(第三版)课后习题8.5 (C++代码) 摘要:解题思路: 使用一个暂时的数组来保存输入的逆序,通过将输入的数组第一个元素保存再暂时的数组的末尾,用i来控制暂时的数组往前移动.注意事项:参考代码:#include <iostream>…… 题解列表 2019年04月07日 0 点赞 0 评论 1122 浏览 评分:8.0
C语言训练-谁家孩子跑最慢* (C语言代码) 摘要:解题思路:看得懂算我输,自己都把自己写蒙b了注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a[3][3],i,j,k; a[0]…… 题解列表 2019年04月13日 0 点赞 0 评论 763 浏览 评分:8.0
蓝桥杯算法提高VIP-前10名 (C++代码)水 摘要:解题思路:水就完事。参考代码:#include<bits/stdc++.h> using namespace std; int main(){ const int maxn=100005; …… 题解列表 2019年04月14日 0 点赞 0 评论 587 浏览 评分:8.0
[编程入门]自定义函数处理最大公约数与最小公倍数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int m,int n){ if(m%n==0) return n; return gcd(n,m%n);}…… 题解列表 2019年04月16日 3 点赞 1 评论 1044 浏览 评分:8.0
P1014 (C++代码)数据有错 摘要: 代码是正确的,区间 Dp。#include <bits/stdc++.h> constexpr auto Inf = 0X3F3F3F3F; 题解列表 2019年04月17日 0 点赞 0 评论 1588 浏览 评分:8.0
[编程入门]密码破译 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char array[100]; int i; sca…… 题解列表 2019年04月17日 0 点赞 0 评论 1290 浏览 评分:8.0