题解列表

筛选

2843: 计算2的N次方 简洁明了,易懂,详细解释

摘要:解题思路:只需引用一个#include<math.h>的数学库,因为咱们要用pow函数是包含在数学库里边的注意事项:pow函数引用的输出和输入为double类型,输出时应该用%f,又因为输出为整形,所……

dfs #1440: 蓝桥杯2013年第四届真题-带分数

摘要:# 7.带分数 100可以表示为 100=3+69258/714 这种表示形式当中,数字1~9分别只出现一次 可以看成一个数字1~9的全排列 我们只需要在当前全排列中 找出三段数字 满……

3 5 7整除(c语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d", &a); if((a%3==0) && (a%5==0) && (a%7=……

一种一懂的另类写法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int n,t; scanf("%d",&n); double d = sqr……

题解 1231: 菜鸟解法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,j,n,a[30][30];    while(scanf("%d",&n)==1){    ……

3031: 分解因数

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <stdlib.h> #include <stdbool.h> #include <stdio.h> #……