题解列表

筛选

教学楼的楼梯 数组做法(C语言代码)

摘要:解题思路:从第一层阶梯开始,我们试着列一下不同走法:2层: 1,1;     2;   共2种;3层: 1,1,1;     1,2;      2,1;    共3种;4层: 1,1,1,1;   ……

P1014 (C++代码)数据有错

摘要:                         代码是正确的,区间 Dp。#include <bits/stdc++.h> constexpr auto Inf = 0X3F3F3F3F;

You are my brother (C语言代码)

摘要:解题思路:贴个代码 不想写注释了注意事项:参考代码:#include<stdio.h>typedef struct node{ int a; int b;} L;L A[1005];int main(……

生日日数 (Python代码)

摘要:解题思路:注意事项:参考代码:#! /usr/bin/python3 # Copyright(c) 2019 note.jorhelp.cn # Authored by Jorhelp o……

诡秘的余数 (Python代码)

摘要:解题思路:        Python太坏了,啥都帮我做了,我还怎么学习注意事项:参考代码:while True:     try:         n,m=map(int, input().sp……