首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏猪圈子

    shopping Test method

    网上商店的购物车要能过跟踪顾客所选的的商品,记录下所选商品,还要能随时更新,可以支付购买,能给顾客提供很大的方便。

    1.4K10发布于 2019-07-22
  • 来自专栏算法修养

    CodeForces 665B Shopping

    Shopping time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Ayush is a cashier at the shopping center.

    70240发布于 2018-04-26
  • 来自专栏VoiceVista语音智能

    Speechly Brings Voice Purchases to In-Game Shopping

    SAYOLLO SAYS HELLO Sayollo offers mobile game developers a way to incorporate advertising and shopping

    33210编辑于 2022-05-17
  • 【CodeForces】599A - Patrick and Shopping(枚举)

    Patrick and Shopping time limit per test 1 second memory limit per test 256 megabytes

    25610编辑于 2025-08-26
  • 来自专栏CSDN旧文

    POJ 1170 Shopping Offers非状态压缩做法

    Shopping Offers Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 5659 Accepted: 2361

    59120发布于 2020-10-28
  • 来自专栏小L的魔法馆

    2018 Wannafly summer camp Day3--Shopping

    Shopping 描述 题目描述: 你要买n件物品,其中有一些是凳子。 商场正在举行促销活动,如果购物车中有至少一个凳子,那么你可以半价购买这个购物车中最贵的一个物品。

    44220发布于 2019-03-01
  • 来自专栏vblog

    PAT 1044 Shopping in Mars (25分) 二分法

    题目 Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds.

    49020发布于 2020-07-14
  • 来自专栏JAVA

    在android studio中启动模拟器的时候报错...keeps shopping

    大家好,在写安卓的时候我这边只写前端的简单页面,在写跳转的时候就开始报错了,本人看了好几天也没定位到错误,希望各位大神遇到的多多指点。

    1.2K10编辑于 2024-11-20
  • 来自专栏饶文津的专栏

    【CodeForces 599A】D - 特别水的题4- Patrick and Shopping

    Today Patrick waits for a visit from his friend Spongebob. To prepare for the visit, Patrick needs to buy some goodies in two stores located near his house. There is a d1 meter long road between his house and the first shop and a d2 meter long road between his house and the second shop. Also, there is a road of length d3 directly connecting these two shops to each other. Help Patrick calculate the minimum distance that he needs to walk in order to go to both shops and return to his house.

    56710发布于 2020-05-31
  • 来自专栏Zaqdt_ACM

    Educational Codeforces Round 47 (Rated for Div. 2) A.Game Shopping(水题)

    题目链接:http://codeforces.com/contest/1009/problem/A

    37640发布于 2019-01-11
  • 来自专栏Linux成长之路

    【Docker项目实战】使用Docker部署our-shopping-list购物清单工具

    一、our-shopping-list介绍1.1 our-shopping-list简介OSL (Our Shopping List)是一个简单的共享列表应用程序。 UIPWA基础支持1.3 our-shopping-list使用场景购物清单:多个人共同编辑购物清单,可以随时添加或删除物品,方便家庭成员或室友协作购物。 拉取our-shopping-list镜像docker pull nanawel/our-shopping-list五、部署our-shopping-list应用5.1 创建部署目录创建部署目录/data 容器状态检查our-shopping-list容器状态,确保our-shopping-list容器正常启动。 首页6.1 进入our-shopping-list首页访问地址:http://192.168.3.166:6600,将IP替换为自己服务器IP地址,进入进入our-shopping-list初始页,自定义注册账号和密码

    64210编辑于 2024-04-25
  • 来自专栏Python 学习

    day99-redis入门&增删改查购物车&购物车数据结构

    = SHOPPING_CAR.format(user_id, '*') """找到所有的keys""" all_shopping_car_keys = REDIS_CONN.scan_iter(shopping_car_key) if not all_shopping_car_keys: raise MyException(201, '购物车不存在') shopping_car = {} for key in all_shopping_car_keys = SHOPPING_CAR.format(request.user.pk, course_id) if not REDIS_CONN.exists(shopping_car_key = json.loads(REDIS_CONN.get(shopping_car_key)) shopping_car['default_price_policy_id'] =

    74601发布于 2020-03-23
  • 来自专栏传说之下的花儿的日常学习笔记

    【ES三周年】02-索引操作

    ElasticSearch就不会再自动生成了在Postman中发起POST请求:http://127.0.0.1:9200/index_name/_doc/id例子:图片响应:{ "_index": "shopping 图片响应:{ "_index": "shopping", "_type": "_doc", "_id": "1001", "_version": 3, "_seq_no": "images": "http://xxx.com/xm.jpg", "price": 3999.00 }}如果查询的文档id不存在:响应:{ "_index": "shopping " }, "max_score": 0.21072102, "hits": [ { "_index": "shopping 例子:全文检索"小华" http://127.0.0.1:9200/shopping/_search请求体:{ "query":{ "match":{ "title

    75510编辑于 2023-04-11
  • 来自专栏python3

    Python购物车练习

        2.允许用户根据商品编号购买商品     3.用户选择商品后,检测余额是否足够,够就直接扣款,不够就提醒     4.可随时退出,退出时,打印已购买商品和余额 python代码: #定义商品列表 shopping :                 print(i,shopping[i][0],shopping[i][1])             goumai = input("请输入你要购买商品的序号:[按q goumai_list = goumai1,shopping[goumai1][0],shopping[goumai1][1]                     #讲商品元组追加到临时购买的商品列表里 ;                     shopping_list.append(goumai_list)                     #计算用户的余额=用户登录时输入的工资-购买商品的价格                     gongzi = gongzi - shopping[goumai1][1]                     print("您的余额是{0}".format

    78410发布于 2020-01-15
  • 来自专栏函数式编程语言及工具

    Akka(16): 持久化模式:PersistentFSM-可以自动修复的状态机器

    //处理各种状态 when(Shopping) {...} when(Inactive) {...} when(Paid) {...} ... case Shopping -> Inactive => context.system.eventStream.publish(CurrentCart("Shopping -> Inactive ",stateData)) case Shopping -> Paid => context.system.eventStream.publish(CurrentCart("Shopping changed: Shopping -> Inactive",stateData)) case Shopping -> Paid => context.system.eventStream.publish (CurrentCart("State changed: Shopping -> Paid",stateData)) case Inactive -> Shopping => context.system.eventStream.publish

    1.2K50发布于 2018-01-05
  • 来自专栏python3

    python3 购物车小程序

    ,12888), ('Bike',3000), ('Book',34), ('Cut',98), ] #定义一个空列表,用于存放已购商品 Purchased_goods = [] Amount_of_shopping = input("请输入您的购物金额:") if Amount_of_shopping.isdigit(): Amount_of_shopping = int (Amount_of_shopping) List_of_commodities) and chioce >= 0 : chitem = List_of_commodities[chioce] if chitem[1] <= Amount_of_shopping : Purchased_goods.append(chitem) Amount_of_shopping-=chitem[1] print("您购买的 %s 已添加到购物车,您当前余额是 %s " %(chitem ,Amount_of_shopping) ) else: print("您的余额不足,请充值后再来!!!")

    83310发布于 2020-01-03
  • 来自专栏传说之下的花儿的日常学习笔记

    ElasticSearch学习(二)——索引、文档简单操作

    响应: { "_index": "shopping", "_type": "_doc", "_id": "1001", "_version": 3, "_seq_no images": "http://xxx.com/xm.jpg", "price": 3999.00 } } 如果查询的文档id不存在: 响应: { "_index": "shopping eq" }, "max_score": 1.0, "hits": [ { "_index": "shopping eq" }, "max_score": 1.0, "hits": [ { "_index": "shopping 例子: 全文检索"小华" http://127.0.0.1:9200/shopping/_search 请求体: { "query":{ "match":{

    83410编辑于 2023-04-16
  • 来自专栏不能显示专栏创建者

    移动购物应用的兴起

    原文标题:The Rise of Mobile Shopping Apps 原文:Mobile shopping apps have in the midst of the pandemic become on mobile devices, what mobile shoppers require from shopping apps, and how retailers can provide a I think shopping apps are popular with consumers because they are a great way to experience a brand in discovery, shopping apps can have the same experiential effect, with the added value of convenience among the factors behind the rise in shopping app use."

    1.1K00发布于 2020-12-14
  • 来自专栏2024程序员容器化上云之旅

    2024程序员容器化上云之旅-第7集大结局-Ubuntu-WSL2-Windows11版:获得重生

    8.6 新增k8s的deployment、service和ingress配置文件以便将postgres、shopping-list-api、shopping-list-front-end三个微服务和ingress 8.6.3 infrastructure文件夹中的代码改动在infrastructure文件夹中增加了postgres、shopping-list-api和shopping-list-front-end deployment-postgres.yml service-postgres.yml deployment-shopping-list-api.yml service-shopping-list-api.ymldeployment-shopping-list-front-end.yml :v1.1.local.k8s.amd648.10 在k8s集群上配置postgres、shopping-list-api和shopping-list-front-end三个微服务和ingress并运行与在 # 部署shopping-list-api的deploymentkubectl apply -f .

    53953编辑于 2024-02-29
  • 来自专栏小旋锋的大数据专栏

    设计模式 | 策略模式及典型应用

    Shopping shopping2 = new Shopping("Apple 妙控鼠标", 588.00 ); shopping2.calculate("dis8"); Shopping shopping3 = new Shopping("戴尔U2417H显示器", 1479.00); shopping3.calculate("cash10"); Shopping shopping4 = new Shopping("索尼ILCE-6000L相机", 3599.00); shopping4.calculate(null); ; Shopping shopping2 = new Shopping("Apple 妙控鼠标", 588.00, new Dis8Discount()); shopping2 ); shopping3.calculate(); Shopping shopping4 = new Shopping("索尼ILCE-6000L相机", 3599.00

    1.4K30发布于 2019-01-21
领券