题解列表

筛选

1319: 没有上司的晚会

摘要:# 没有上司的晚会 ```cpp /* * 1319: 没有上司的晚会 * 贴脸的树形DP,hhh。已知关系结构是树形,数据范围 -- 考虑dp。 * dp[root][join] ……

1098: 陶陶摘苹果

摘要:解题思路: 注意事项:判断能否摘到苹果一定是大于等于哦参考代码:#include<stdio.h>#define APPLENUMBER 10int main(){    int bench_heig……

计算分数加减表达式的值

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

3011: 余数相同问题

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

题解 3016: 第几项

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

3016: 第几项

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

3016: 第几项

摘要:解题思路:先算出s的值,再把它和m比较,在输出n注意事项:要输出i参考代码:#include <iostream>using namespace std;int main(){     long lo……