摘要:
1、编码错误和实验 源代码 public class Person { void speakHello() { System.out.print("您好,很高兴认识您"); System.out.println(" nice to meet you"); } } class Xiti { publi 阅读全文
摘要:
from queue import Queue,LifoQueue,PriorityQueue n,m,s,t=map(int,input().split())#分开读入n,m,s,t类似于scanf Weights=[[100000000 for i in range(n+1)] for j in 阅读全文
摘要:
建立"数组"(List列表数据类型): array = [value]*n array = [[value for i in range(n)] for j in range(m)] # 二维 输出时消除列表方括号 LIST=[1,2,3] print(", ".join(repr(e) for e 阅读全文