题解列表
题解 2824: 求出e的值
摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n ; double sum=1.0 ; doubl……
1131(简单c++)
摘要:解题思路:此题无须使用数组;我们首先定义变量:int k,sum;
int f1 = 1, f2 = 1;分三种情情况论if (k == 2)
{
//1
}
if (k == 1)
……
题目1118 Tom数
摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = n……
2824: 求出e的值
摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n;cin>>n;double s=0,t=1;for(int i=1;i……
aaaaaaaaaaaaaaaaaaaaaaaaaaaaa
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n;cin>>n;double s=0,t=1;for……
信息学奥赛一本通T1179-奖学金
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef struct student{ int num,c_score……
2836 简单c++
摘要:解题思路:本题最好使用数组解;因为我们不知道有多少个变量.注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
int a[1000];//……
感谢支持,谢谢你们的支持
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; double s=0,t=1;……
编写题解 3001: 整数的和
摘要:解题思路:1、创建三个变量2、输入三个变量3、输出他们的和参考代码:#include<iostream>
using namespace std;
int main (){
int a,……