题解列表

筛选

python-解题代码

摘要:解题思路:注意事项:参考代码:a=int(input())b=a//10000c=a%10000k=0days=[0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, ……

自定义函数之数字后移

摘要:解题思路:利用两个数组,第一个数组保存数据,第二个数组完成后移拷贝注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){   ……

萌新一个小思路

摘要:解题思路:把第一次落地前和第一次落地后到第N次落地前两者独立开来注意事项:默认自由下落高度是第一次的高度参考代码:#include<stdio.h> #include<math.h> int ma……

1097: 蛇行矩阵

摘要:```java public class _1097_蛇行矩阵 { public static void main(String[] args) { Scanner scanner=new……

for循环实现,12行代码

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