题解列表

筛选

2893: 肿瘤面积

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

第一个HelloWorld程序

摘要:解题思路:这一道题只需要输出就可以了。注意事项:1.头文件很容易用错,一定要注意头文件。2.一定要记得输出*参考代码://cout#include<bits/stdc++.h>//……

1141:百钱百鸡

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int cock,hen,chicken; fo……

三元判断解法

摘要:参考代码:#include<stdio.h>int main(){ int a=0, b=0, c=0; int min, mid, max; scanf("%d %d %d&q……

适合新手的题解

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

[编程入门]带参数宏定义练习

摘要:解题思路:用C 语言的 “带参数宏” 来实现两个变量的值互换,然后通过程序验证效果。简单说就是:定义一个宏(类似“替换规则”),接收两个参数,展开后能交换这两个参数的值;再写程序输入两个数,用……