摘要:
同步:https://zhufn.fun/archives/43/ 题目 Farmer John has recently purchased a new car online, but in his haste he accidentally clicked the "Submit" button 阅读全文
摘要:
同步:https://zhufn.fun/archives/42/ 题目 给一个函数 f,f 在一开始会传入 x 的初始值。f 有一些指令,指令分三种: for n - 循环 end - 每个循环的终止符。每个配对的 for n 和 end 之间的代码都要被运行 n 次。保证每个 for n 指令都 阅读全文
摘要:
P2916 [USACO08NOV]安慰奶牛Cheering up the Cow 同步:https://zhufn.fun/archives/36/ 题目描述 约翰有N个牧场,编号依次为1到N。每个牧场里住着一头奶牛。连接这些牧场的有P条道路,每条道路都是双向的。第j条道路连接的是牧场Sj和Ej, 阅读全文