A+B for Input-Output Practice (III) (Java代码) 摘要:解题思路:注意事项:注意while语句的位置参考代码:import java.util.*;public class baqi {public static void main(String[] ar…… 题解列表 2018年02月26日 1 点赞 0 评论 956 浏览 评分:2.0
蓝桥杯算法提高VIP-高精度乘法 (C++代码) 摘要:解题思路:/*两个大数相乘思路:①将两个字符串类型数组转化成逆序且数字字符类型②进行乘法运算,由手动乘法得知错位相加c[i+j]=a[i]*b[j];③找到最高位,并从后开始向前进位 */注意事项:此…… 题解列表 2018年03月03日 1 点赞 0 评论 1316 浏览 评分:2.0
C语言训练-计算t=1+1/2+1/3+...+1/n (C语言代码) 摘要:解题思路:注意事项:参考代码:/* 计算t=1+1/2+1/3+...+1/n */#include<stdio.h>int main(){ int n; double t,i; scanf("%d…… 题解列表 2018年03月05日 4 点赞 0 评论 3224 浏览 评分:2.0
蓝桥杯算法训练VIP-连续正整数的和 (C++代码) 摘要:参考代码:#include<iostream> using namespace std ; int main() { int n,i,j,c=0 ; cin>>n ; for(i=1…… 题解列表 2018年03月06日 1 点赞 0 评论 1273 浏览 评分:2.0
蓝桥杯算法提高VIP-连接乘积 (C语言代码) 摘要:解题思路:答案是正确的。只不过顺序不对。大家把顺序撸一下就行了注意事项:参考代码:#include<stdio.h>int as(int * a,int * b,int j,int jiab,int …… 题解列表 2018年03月06日 0 点赞 0 评论 1364 浏览 评分:2.0
汪汪与洋洋 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; int sum,win;//存储所有情况和洋洋获胜次数 sum=0; win=0; fo…… 题解列表 2018年03月07日 1 点赞 0 评论 1221 浏览 评分:2.0
P1076 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using n…… 题解列表 2018年03月07日 0 点赞 0 评论 1081 浏览 评分:2.0
蓝桥杯基础练习VIP-完美的代价 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,m; scanf("%d\n",&…… 题解列表 2018年03月08日 0 点赞 0 评论 1687 浏览 评分:2.0