发工资咯 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){ int n,t; while(cin>>n&&n){…… 题解列表 2018年08月05日 2 点赞 1 评论 734 浏览 评分:6.0
C语言训练-8除不尽的数 (C语言代码)简洁 摘要:解题思路:注意事项:参考代码:#include <math.h>#include <stdio.h>int main(){ int x,y,z,q,p,n=1; while(n++) …… 题解列表 2018年08月05日 0 点赞 1 评论 2120 浏览 评分:9.9
蓝桥杯算法提高VIP-任意年月日历输出 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int sum=0,p=0; int a[]={0,31,28,31,30,31,30,31,31,30,31…… 题解列表 2018年08月05日 0 点赞 0 评论 2024 浏览 评分:0.0
Lucky Word (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int f(int n);int f(int n) { int i; if(n<2) { re…… 题解列表 2018年08月05日 0 点赞 0 评论 1913 浏览 评分:0.0
momoc::题解1530:蓝桥杯算法提高VIP-数字黑洞 (C语言代码)带注解 摘要:解题思路:用数组a保存每个 位数 排序后,还原四位数过程有点麻烦,耐下性子写,肯定可以写出的注意事项:因为是从大到小排列,所以第二步要逆着还原参考代码:#include <s…… 题解列表 2018年08月04日 1 点赞 0 评论 1767 浏览 评分:0.0
可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<iostream> using namespace std; int fun(int n) { if (n == 1)…… 题解列表 2018年08月04日 1 点赞 0 评论 2160 浏览 评分:0.0
momoc::题解1605:蓝桥杯算法训练VIP-阿尔法乘积 (C语言代码) 摘要:解题思路:例子分析: 4018224312 → 4*1*8*2*2*4*3*1*2 → 3072 → 3*7*2 → 42 → 4*2 → 8 …… 题解列表 2018年08月04日 0 点赞 0 评论 2179 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题12.5 (C语言代码) 摘要:解题思路:1、借用指针使用递归算法实现右移;2、将左移转化为右移,统一函数注意事项:1、本题中的整数是32位无符号整数,输入和输出时可以使用%u进行处理2、末尾输出换行参考代码:#include<st…… 题解列表 2018年08月04日 3 点赞 0 评论 2013 浏览 评分:0.0
Tom数 C语言 字符串 mirage解题记录 摘要:解题思路:1. 读入数据储存为字符串。2. 挨个字符相加得出结果。注意事项:单个字符相加时减去'0'的ASCLL码值。参考代码:#include<stdio.h> int main(…… 题解列表 2018年08月04日 19 点赞 3 评论 838 浏览 评分:0.0
P1002 (C语言代码) 摘要:解题思路: 用循环和数组即可注意事项:参考代码:#include <stdio.h>int main() { int n; scanf("%d", &n); int i, a[n],…… 题解列表 2018年08月04日 0 点赞 0 评论 1283 浏览 评分:0.0