题解列表

筛选

温度转换(C语言新手)

摘要:解题思路:注意事项:需注意5和(F-32)之间的乘号不可省略,要写*参考代码:#include <stdio.h>int main(){ float c,F; scanf("%f",&F); c=5*……

太太太太太太太太太太对啦

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

[STL训练]周瑜的反间计

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){     // 定义变量n和m,以及两个数组a和b,……

紧急措施(详细注释)

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体aaa,包含三个字符数组a, b, c struct aa……

很简单,一看就懂(c语言)

摘要:思路其实很简单,我们可以先计算出以周为基础完成的天数,也就是(n/sum)\*7,这样就可以计算出剩下多少道题目n%sum 然后接下来处理这些题目,用取余的特性来判断是不是周末 ```c #in……

直接写就得了

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    float a,b;    scanf("%f %f",&a,&b);    printf("%.2f",……