题解列表

筛选

题解 2806: 人口增长问题

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double x,n;    cin>>x>>n; ……

题解 2797 最高的分数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int  maxx=0 , n;    cin>>n……

题解 2799: 奥运奖牌计数

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){   int fmax,maxs=0,……

写题解 2810: 鸡尾酒疗法

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n;double x,y,d,d1;cin>>n>>x……

更相减损法

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

2810: 鸡尾酒疗法

摘要:解题思路:本题主要考察对循环的熟练度和对题干的理解力注意事项:循环中i的循环次数为:i<=n-1,不是n               better,worse,same不要拼错(别问我为什么要写这个,……