题解列表

筛选

1162: 密码(遍历)

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

1161: 回文数(高精度)

摘要:解题思路: 高精度求和注意事项:参考代码:#include<iostream> using namespace std; const int N = 1e3 + 10; int a[N],b[N……

[编程入门]实数的打印

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#define MAX_OF_THREE(a, b, c) ( (a) ……

2914: 铺地毯

摘要:解题思路:注意事项:参考代码:#include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> us……

宏定义之闰年判断

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#pragma warning(disable : 4996)#define LEAP_YEAR(y) (((y) % 4 == 0 ……

简单的a+b (C语言代码)

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

计算三角形面积

摘要:#include<stdio.h>#include<math.h> //主要是用pow函数double changdu(double x1,double x2,double y1,double y2)……