题解列表
gets函数,简单循环
摘要:解题思路:注意事项:参考代码: #include <stdio.h> #include <string.h> int main() { char a[205]; gets(a); int len……
1469: 蓝桥杯基础练习VIP-数的读法(这直接肝多是一件美事啊)(C语言版)
摘要:具体代码: :smiling_imp::smiling_imp::smiling_imp:
```c
#include
#include
#include
void read_number(……
Hifipsysta-2059-[STL训练]sort练习(C++代码)
摘要:```cpp
#include
#include
#include
using namespace std;
bool sort_rule(int a, int b){
ret……
嗯......。。。。。。。。。。。。。。。。。。。。。。有点难。。。。。。。
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout << "yes" << endl; retur……
python-平面切分
摘要:解题思路:注意事项:参考代码:n = int(input())
A = set()
for i in range(n):
k,b = map(int,input(……
优质题解
货币系统 (动态规划)
摘要:首先答案是10!!!
线性DP
dp[i]的含义:dp[i]表示金额为i(0...m)的总方案数;
最后一步:求金额为m-1的总方案数;
子问题:原来是求金额为m的总方案数,现在求i(0...……
1470: 蓝桥杯基础练习VIP-时间转换
摘要:```c
#include
void main()
{
int t,a,b,c;
scanf("%d",&t);
a = t / 3600;
b = (t……
Hifipsysta-2066-[STL训练]第36届ACM亚洲区大连站网络赛The kth great number(C++代码)
摘要:
```cpp
#include
#include
#include
using namespace std;
int main(){
vector myvect;
……
两次dfs-大臣的旅费
摘要:```cpp
#include
#include
using namespace std;
int n;
struct road{
int to,len;
road(){}
……