摘要:
数组 一、数组的基本使用 概念:数组是内存中的一串连续的空间,用来储存同一类型的数据 语法: 声明:数据类型[] 数组名; 开辟空间:数组名 = new 数据类型[数组容量/数组长度]; public class TestArray { public static void main(String[ 阅读全文
摘要:
Data Structure Notes Author : "Carrawayang" Version : 1.0 Refresh Date 2020.11.26 Description : Just record and review some points about Data Structur 阅读全文
摘要:
Data Structure Notes Author : "Carrawayang" Version : 1.0 Refresh Date 2020.11.26 Description : Just record and review some points about Data Structur 阅读全文
摘要:
一只青蛙一次可以跳上1级台阶,也可以跳上2级......它最多可以跳上m级。编写函数求该青蛙跳上一个n级的台阶共有多少种跳法,函数的输入为n,m,输出为跳法的种数 def jump(a, h, n, state): for i in range(1, h + 1): c = n c -= i sta 阅读全文
摘要:
import os import sys import math from collections import Counter import numpy as np import random import torch import torch.nn as nn import torch.nn.f 阅读全文