题解列表

筛选

1018题: 有规律的数列求和

#自己写的代码没有写出来,不会写#思路难点想着两个循环嵌套使用,但是不会表达#参考代码```c#includeintmain(){doubleSn=0,an=0,n,i,t,a=2.0,b=1.0;//a为分子,b为分母,an为单项和值,Sn为总和scanf("%lf",

题目 1850: 判断第几天

摘要:解题思路: for循环+switch足以解这道题注意事项:1.2月的闰月要判断 2.循环的条件  int i = 1; i < m; i++ 不能等于m不然会多加一个月份的天数 3. sum在每一次输……

1098: 陶陶摘苹果

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using names……

二级C语言-统计字符

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int zimu=0,num=0,kon=0,oth=0;     char c;    ……

单词反转java

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class 单词翻转 {    public static void main(String[] args……

普通的写法

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<set>using namespace std;const int N =10……

题解解解解解解解解

摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){   int a,b,n;    cin>>a>>b>>n;    cout<<……

就阶乘和次幂之和

#MarkDown编辑器基本使用说明**如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。**##实时预览、全屏显示![](/image_editor_upload/20190606013233_25630.png)**编辑器左边是输入框,