码迷,mamicode.com
首页 >  
搜索关键字:price    ( 2479个结果
1333. Filter Restaurants by Vegan-Friendly, Price and Distance
问题: 给出一组餐厅各种参数的,餐厅排行榜, 根据用户提供的3个要求:Vegan-Friendly, Price ,Distance 过滤满足要求的餐厅,并按照餐厅排行榜排序,若排名ranking一样,则按照id排序(都是大的排在前面)。 Example 1: Input: restaurants ...
分类:其他好文   时间:2020-07-12 11:49:05    阅读次数:57
Java Compare
Comparable // Goods.java import java.util.Arrays; public class Goods implements Comparable { private String name; private double price; public Goods() ...
分类:编程语言   时间:2020-07-11 21:17:22    阅读次数:61
07.验证码处理
07.验证码处理 引入 相关的门户网站在进行登录的时候,如果用户连续登录的次数超过3次或者5次的时候,就会在登录页中动态生成验证码。通过验证码达到分流和反爬的效果。 今日概要 使用云打码平台识别验证码 知识点回顾 session的创建方式 session的作用 proxies参数的作用 高匿,透明代 ...
分类:其他好文   时间:2020-07-11 14:28:08    阅读次数:69
我的python菜鸟之路16
我的第一个长代码 制作一个商店导购程序 # 生成商品列表 name = ''' ......#商场所有的商品 ''' new_name = name.split('\n') goods_list = [] i = 1 for item in new_name: i += 1 price = 5 + ...
分类:编程语言   时间:2020-07-11 09:53:19    阅读次数:50
jquery内容
1.初识jQuery以及jQuery的主要内容 参考网址: https://www.cnblogs.com/yangshuwen/p/13183803.html 2.jQuery选择器 1.基本选择器 $("h1").css("color", "blue"); //标签选择器 $(".price") ...
分类:Web程序   时间:2020-07-10 21:27:24    阅读次数:108
sql的存储
create database ZuoYeuse ZuoYe select * from OrderInfoesselect * from Goodsselect * from Shopsselect c.Id,c.ShopId,c.UserId,g.Name,g.Img,g.Price,s.SNa ...
分类:数据库   时间:2020-07-10 09:38:16    阅读次数:78
php能把函数名作为参数传递吗【转】
请问php能把函数名作为参数传递吗? 类似javascript,lua里面一样,函数名本来就是个变量,可以随时传递。 比如js可以这样写: function test(msg){ console.log(msg); } function a(b){ b(msg); } a(test); 可以。方法主 ...
分类:Web程序   时间:2020-07-07 11:33:40    阅读次数:89
PTA 乙级 1020 月饼 (25分) C++
利用sort函数对平均数进行排序 C++ 1 #include <iostream> 2 #include <algorithm> 3 4 using namespace std; 5 6 struct Goods { //货物结构体(库存,总售价,单价) 7 float mass, price, ...
分类:编程语言   时间:2020-07-06 22:45:01    阅读次数:98
两个装饰函数
两个装饰函数 classmethod 被装饰的方法会成为一个静态方法 class Goods: __discount = 0.8 def __init__(self): self.__price = 5 self.price = self.__price * self.__discount @cla ...
分类:其他好文   时间:2020-07-05 15:08:41    阅读次数:56
PAT 1020 月饼 测试点3错误
简单的贪心法,代码如下 1 #include <iostream> 2 #include<stdio.h> 3 double amount[1000]; 4 double price[1000]; 5 using namespace std; 6 int getMax(int n){ 7 int r ...
分类:其他好文   时间:2020-07-04 16:57:41    阅读次数:70
2479条   上一页 1 ... 4 5 6 7 8 ... 248 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!