图形输出(C++11新特性-原始字符串) 摘要:解题思路:使用cout<<R"()";使用了C++11新特性 raw string literal参考代码:#include<bits/stdc++.h> using namespace std; …… 题解列表 2021年04月07日 0 点赞 0 评论 494 浏览 评分:0.0
***************************************** 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,s=0; scanf("%d",&n); /*i=n; while(n…… 题解列表 2021年04月07日 0 点赞 0 评论 472 浏览 评分:0.0
简单python走起 摘要:解题思路:注意事项:参考代码:while True: n=int(input()) if 90<=n<=100: print('A') elif 75<…… 题解列表 2021年04月07日 0 点赞 0 评论 588 浏览 评分:0.0
简单python走起 摘要:解题思路:注意事项:参考代码:while True: mas=list(map(int,input().split())) mas.pop(0) mas.sort(reverse=T…… 题解列表 2021年04月07日 0 点赞 0 评论 561 浏览 评分:0.0
!!绝对最简单!!!!! 摘要:解题思路:看见那个输出案例了吗?两个循环就好了,除的尽就放进计数器 然后搞完再写个循环判别你计数的因子和 回去判别是不是相同这个代码没兴趣写 ,没什么难度注意事项:复制下去注意输出参考代码:#incl…… 题解列表 2021年04月07日 0 点赞 0 评论 709 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 摘要:解题思路:注意事项:实质为求解最大公约数参考代码:#include<stdio.h>int max_num(int m,int n);int main(){ int a,b,c,max; …… 题解列表 2021年04月07日 0 点赞 0 评论 449 浏览 评分:0.0
1912: 蓝桥杯算法提高VIP-盾神与条状项链 C++ STL 解决 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>using namespace std;vector<int> v;int main(){ in…… 题解列表 2021年04月07日 0 点赞 0 评论 774 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 摘要: Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.…… 题解列表 2021年04月07日 0 点赞 0 评论 861 浏览 评分:0.0
数据结构-字符串连接(C语言) 摘要:解题思路:第一个字符串指针指向'\0',双指针进行赋值,当第一个字符串100个字符复制完成,但是第二个字符串的指针尚未指向'\0',此时说明第二个字符串在连接过程中被截…… 题解列表 2021年04月07日 0 点赞 0 评论 688 浏览 评分:0.0
自动晾衣机 摘要:解题思路:注意事项:下面的代码可以在我的VC上跑,不知道为啥平台上面跑不了,有无兄弟看一下啥原因参考代码:#include<stdio.h>#include<malloc.h>int main(){ …… 题解列表 2021年04月07日 0 点赞 0 评论 657 浏览 评分:0.0