C语言训练-"水仙花数"问题1 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;long long n…… 题解列表 2022年05月18日 0 点赞 0 评论 318 浏览 评分:0.0
1195: 去掉双斜杠注释 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string str1="//"; string…… 题解列表 2022年05月18日 0 点赞 0 评论 422 浏览 评分:0.0
根据空格寻找单词的个数 摘要:观察题意,由于输入的形式比较固定,即第一个单词前不能是空格,最后一个单词后不能是空格,所以空格的个数比单词数少一个,代码如下 #include …… 题解列表 2022年05月18日 0 点赞 0 评论 467 浏览 评分:0.0
千辛万苦我终于让站长通过了我的题解 摘要:解题思路:思路参考的c的第一个曼彻斯特的优质题解,只是他的数据是一个一个输入进行判断,而python,用两个列表嵌套,变成二维数组。厉害的同学也可以试试看,所有的矩阵数据,全部放到一个单列表里面,然后…… 题解列表 2022年05月18日 0 点赞 0 评论 448 浏览 评分:0.0
蓝桥杯算法提高VIP-模拟计算器 摘要:#include void main() { int a,b,k; char i; scanf("%d%d %c",&a,&b,&i); if(i=='+') k=1; i…… 题解列表 2022年05月19日 0 点赞 0 评论 417 浏览 评分:0.0
看到题解有好多朋友不是用的自定义函数,所以搞了一个 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void lianjie(char *a,char *b);int main(){ char a…… 题解列表 2022年05月19日 0 点赞 0 评论 337 浏览 评分:0.0
蓝桥杯算法提高VIP-淘淘的名单 摘要:解题思路:注意事项:参考代码://程序名:新的C++程序//作者: #include<iostream>#include<fstream>#include<algorithm>using namesp…… 题解列表 2022年05月19日 0 点赞 0 评论 358 浏览 评分:0.0
[编程入门]二进制移位练习 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<cmath>using namespace std;vector<int> arr;…… 题解列表 2022年05月19日 0 点赞 0 评论 338 浏览 评分:0.0
输入超过三位数的简单思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, s, g; scanf("%d", &a); b = a / 100; s…… 题解列表 2022年05月19日 0 点赞 0 评论 416 浏览 评分:0.0
利用if对输出结果进行判断 摘要:解题思路:利用if判断输出结果即可注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n; while(~scanf("%d%d", &a, &b…… 题解列表 2022年05月19日 0 点赞 0 评论 358 浏览 评分:0.0