P3576 [POI2014]MRO-Ant colony 题目描述 The ants are scavenging an abandoned ant hill in search of food. The ant hill has nn chambers and n-1n?1 corridors ...
分类:
其他好文 时间:
2017-09-15 16:41:56
阅读次数:
175
https://www.luogu.org/problem/show?pid=3576 题目描述 The ants are scavenging an abandoned ant hill in search of food. The ant hill has nn chambers and n-1 ...
分类:
其他好文 时间:
2017-09-15 01:51:53
阅读次数:
271
Bananas are the favoured food of monkeys. In the forest, there is a Banana Company that provides bananas from different places. The company has two li ...
分类:
其他好文 时间:
2017-09-13 23:26:14
阅读次数:
297
function cat(){}cat.prototype={ food:"fish", say: function(){ alert("I love "+this.food); }}var blackCat = new cat;blackCat.say(); 但是如果我们有一个对象whiteDog ...
分类:
移动开发 时间:
2017-09-10 11:11:38
阅读次数:
253
A .Banana Bananas are the favoured food of monkeys. In the forest, there is a Banana Company that provides bananas from different places. The company ...
分类:
其他好文 时间:
2017-09-09 20:58:19
阅读次数:
245
购物车程序我的代码组长代码思维导图代码 购物车程序 我的代码 salary = int(input('input your salary:')) shopping_car = [] shopping_list = ['iphone','food', 'book','shirt'] shopping_... ...
分类:
其他好文 时间:
2017-09-03 11:15:52
阅读次数:
187
Food Delivery ZOJ - 3469 题意:快递员送外卖,n个客户,起始位置为x,速度为v,每个客户单位时间不满意度增加hi,问最少增加多少不满意度。 每一个客户可能是从左侧送到或者从右侧送到。 1 #include <bits/stdc++.h> 2 using namespace s ...
分类:
其他好文 时间:
2017-08-26 13:44:22
阅读次数:
141
@staticmethod 静态方法 函数修饰符,用来修饰一个函数,类似于装饰器 eat()方法上面加上 @staticmethod 提示 food 少传递一个参数 删除food参数尝试下 提示少一个位置参数self ,self默认不是自动传进去的吗,静态方法就是截断方法与类的联系,就是说eat在这 ...
分类:
其他好文 时间:
2017-08-25 21:00:43
阅读次数:
212
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <ul> <li v-for="food in foodList">{{ ...
分类:
其他好文 时间:
2017-08-22 20:54:33
阅读次数:
141
Although winter is far away, squirrels have to work day and night to save beans. They need plenty of food to get through those long cold days. After s ...
分类:
其他好文 时间:
2017-08-19 11:02:41
阅读次数:
140