上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 59 下一页
摘要: 思路 根据月饼的总价和数量计算出每一种月饼的单价 用结构体存储月饼的数量,总价,单价;用结构体数组存储月饼结构体 将月饼数组按照单价从大到小排序 根据需求量need的大小,从单价最大的月饼开始售卖 将销售掉这种月饼的价格累加到result中,最后输出result #include <iostream 阅读全文
posted @ 2020-10-21 14:47 cxc1357 阅读(117) 评论(0) 推荐(0)
摘要: 思路 以字符串接收数据 sort():数组排序,倒序排序,重新写比较函数 s.insert(0, 4 – s.length(), ‘0’):用来给不足4位的时候前面补0 do while语句,输入6174时也计算一次 #include <iostream> #include <algorithm> 阅读全文
posted @ 2020-10-21 14:33 cxc1357 阅读(118) 评论(0) 推荐(0)
摘要: 参考 https://blog.csdn.net/zhanaolu4821/article/details/93622812 阅读全文
posted @ 2020-10-20 22:29 cxc1357 阅读(77) 评论(0) 推荐(0)
摘要: 参考 https://www.cnblogs.com/brankoliu/p/10845491.html https://blog.csdn.net/qq_40087740/article/details/80897693 阅读全文
posted @ 2020-10-20 22:24 cxc1357 阅读(72) 评论(0) 推荐(0)
摘要: 思路 在 Flink 中创建一张表有两种方法: 从一个文件中导入表结构(Structure)(常用于批计算)(静态) 从 DataStream 或者 DataSet 转换成 Table (动态) package com.kaikeba.mysql.demo import org.apache.fli 阅读全文
posted @ 2020-10-11 16:57 cxc1357 阅读(262) 评论(0) 推荐(0)
摘要: 参考 https://www.geek-share.com/detail/2684728161.html 阅读全文
posted @ 2020-10-11 11:07 cxc1357 阅读(107) 评论(0) 推荐(0)
摘要: 错误1 gciantispider.getchildlst does not exist 原因 getchildlst创建失败 解决 在mysql中设置mysqld中加上log_bin_trust_function_creators=1 错误2 org.hibernate.engine.jdbc.s 阅读全文
posted @ 2020-10-10 22:41 cxc1357 阅读(177) 评论(0) 推荐(0)
摘要: 命令 mvn install:install-file -Dfile="E:\software\Apache\repository\org\apache\flink\flink-connector-redis\flink-connector-redis_2.11-1.1-SNAPSHOT.jar" 阅读全文
posted @ 2020-10-10 21:25 cxc1357 阅读(141) 评论(0) 推荐(0)
摘要: 参考 http://www.javaear.com/question/28087228.html https://github.com/openresty/openresty.org/issues/18 阅读全文
posted @ 2020-10-09 01:45 cxc1357 阅读(385) 评论(0) 推荐(0)
摘要: 参考 https://blog.csdn.net/pengzhisen123/article/details/79049834 https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 阅读全文
posted @ 2020-09-30 23:30 cxc1357 阅读(129) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 59 下一页