求圆的面积-题解(C语言代码) 摘要:这题主要是π的取值应该在四位以上,然后就是浮点数,保留俩位0.2. ```c #include int main() { float pi=3.1415926,r=0,s=0; …… 题解列表 2020年03月23日 0 点赞 0 评论 720 浏览 评分:0.0
拆分位数-题解(C语言代码) 摘要:与1034题重复,详情参见1034题https://blog.dotcpp.com/a/69679 这题主要难点是逆序拆分,所以b=个位,c=十位,d=百位.然后个位%10,百位%100/10保留整…… 题解列表 2020年03月23日 0 点赞 0 评论 762 浏览 评分:0.0
[编程入门]三个数找最大值-题解(C语言代码) 摘要:与1002题重复,详情参见1002题https://blog.dotcpp.com/a/68504 看了大神的比大小又崩溃了,毕竟是小白还是挨个的比一下,简单易懂. ```c #include …… 题解列表 2020年03月23日 0 点赞 0 评论 863 浏览 评分:0.0
[编程入门]打印图案-题解(C语言代码) 摘要:这题主要是格式,左边有空格. ```c #include int main() { printf(" *\n"); printf(" * *\n"); prin…… 题解列表 2020年03月23日 0 点赞 3 评论 2155 浏览 评分:8.8
蓝桥杯历届试题-数字游戏-题解(Python代码) 摘要:```python n,k,t=map(int,input().split()) f=1 s=1 for i in range(t-1): f=(f+n*n*i+int(n*(n+1…… 题解列表 2020年03月23日 0 点赞 0 评论 698 浏览 评分:0.0
[编程入门]链表之报数问题-题解(C++代码) 摘要:```cpp #include using namespace std; typedef struct Node{ int data; struct Node *next;…… 题解列表 2020年03月23日 0 点赞 0 评论 1077 浏览 评分:0.0
密码-题解(C语言代码) 摘要:废话不多说直接上代码 我是没有用调用任何函数,代码通俗易懂,实在不懂的用几个数据跟着代码自己走一遍流程 ` #include #include int main() { in…… 题解列表 2020年03月23日 0 点赞 0 评论 730 浏览 评分:0.0
蓝桥杯2014年第五届真题-兰顿蚂蚁-题解(C语言代码) 摘要:```c #include int change(int n); int map[200][200]; struct ant{ int x; int y; char c; }…… 题解列表 2020年03月23日 0 点赞 0 评论 1405 浏览 评分:9.3
用筛法求之N内的素数。 -题解(C语言代码) 摘要: 代码: #include void func(int n) { int a, b,key=0; for (a = 0; a …… 题解列表 2020年03月23日 0 点赞 0 评论 846 浏览 评分:0.0
27.阴阳 (C++代码)只做最好的思路! 摘要:这题我本来还想用简单的分支结构码出来的,就是每个数都附上不同的字符,尝试后失败,主要卡点在于同样一个数可能附上不同的字符(若附以'+'或'-')。后来嘛。。。这题因为有数与数的接连关系,所以还只能用并…… 题解列表 2020年03月23日 0 点赞 0 评论 903 浏览 评分:9.9