2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double ctof(int c){ int f; f = 32 + c * 9 / 5; return f;}in…… 题解列表 2019年04月28日 0 点赞 0 评论 536 浏览 评分:0.0
[编程入门]自定义函数处理最大公约数与最小公倍数 (C语言代码) 摘要:解题思路:if(m%n==0) return n; return fun(n,m%n);是求最大公约数注意事项:最小公倍数等于两个数相乘/最大公约数参考代码:#include<stdio.h>int …… 题解列表 2019年04月28日 0 点赞 0 评论 613 浏览 评分:0.0
[编程入门]宏定义之闰年判断 (C语言代码) 摘要:解题思路:注意事项:首先明确闰年:1、能被4整除,但不能被100整除 2、能被400整除参考代码:#include<stdio.h>#define LEAP_YEAR(y)int…… 题解列表 2019年04月28日 0 点赞 0 评论 680 浏览 评分:0.0
考试评级 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a; scanf("%d",&a); if(80<=a&&a<=100)…… 题解列表 2019年04月28日 0 点赞 0 评论 625 浏览 评分:0.0
数列问题 (C语言代码) 摘要:简单易懂的代码。参考代码:#include<stdio.h>int main(){ int a[35]={3,4,5}; int i,N; scanf("%d",&N); for(i=3;i<N;i+…… 题解列表 2019年04月28日 0 点赞 0 评论 785 浏览 评分:0.0
忙碌的小L (月赛题解,targin) 摘要:解题思路: 23333,4月月赛题目,这道题目是入门题是真的坑,哪有入门这么难的ε=ε=ε=(~ ̄▽ ̄)~,抢个首题解,顺手感谢小闷骚大佬的思路 这道题目直接用并查集做,方正我直接一套模板…… 题解列表 2019年04月28日 5 点赞 3 评论 829 浏览 评分:0.0
蛇行矩阵 (C++代码) 摘要:解题思路:参考大神思路自己写的注意事项:参考代码:#include <iostream>#include<iomanip>#include<cstdio>#include<cmath>#include…… 题解列表 2019年04月28日 0 点赞 0 评论 508 浏览 评分:0.0
【密码】 (C++代码) 摘要:解题思路:注意四个中的三个我用了暴力判断加sort排序巧妙解决四个中三个的问题注意事项:参考代码:#include <bits/stdc++.h> #include <iostream> usin…… 题解列表 2019年04月28日 0 点赞 0 评论 848 浏览 评分:0.0
【出圈】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a[100]; int i,j,n,m,cnt,js; while(scanf("%…… 题解列表 2019年04月28日 0 点赞 0 评论 1139 浏览 评分:0.0
【明明的随机数】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { …… 题解列表 2019年04月28日 0 点赞 0 评论 853 浏览 评分:0.0