题解列表

筛选

综合求和练习简单解法

摘要:解题思路:注意事项:注意小数运算的精度问题参考代码:#include<stdio.h>int main(){ int a,b,c,i,t,r,q,w; double p,e; scanf(……

c++两种方法

摘要:方法1 if--else语句(较简单)#include <iostream>using namespace std;int main() { int a; cin >> a; ……

数字三角形(DP)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;//定义常量N,用于限制三角……