摘要: 例1: import java.util.Scanner; class jianbaozang{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int c 阅读全文
posted @ 2020-04-28 10:31 柠檬不酸i 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 例1: def jianshuiguo(n,ans): dp=[[0 for i in range(n+1)]for j in range(n+1)] dp[1][0]=ans[1][0] # print(dp) sum=0 for i in range(2,n+1): for j in range 阅读全文
posted @ 2020-04-28 08:32 柠檬不酸i 阅读(149) 评论(0) 推荐(0) 编辑