上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页
摘要: 遍历1-100 ,如果这个数包含7或者,是7的倍数,则敲桌子 #include <iostream> using namespace std; int main() { for (int i = 1; i < 100; ++i) { if(i % 7 == 0){ cout<< i <<",敲桌子" 阅读全文
posted @ 2020-10-12 22:42 冬马党 阅读(151) 评论(0) 推荐(0)
摘要: 水仙花数:num = 各个数的立方和 #include <iostream> using namespace std; int main() { int num = 100; do{ int one = num % 10; int two = num /10 % 10; int three = nu 阅读全文
posted @ 2020-10-12 22:37 冬马党 阅读(401) 评论(0) 推荐(0)
摘要: 查看模板 GET /_cat/templates 查看指定模板 GET /_template/ad-enquiry-app-info-template 阅读全文
posted @ 2020-10-09 14:51 冬马党 阅读(400) 评论(0) 推荐(0)
摘要: 注意: 总人数少于1100人。 示例 输入: [[7,0], [4,4], [7,1], [5,0], [6,1], [5,2]] 输出: [[5,0], [7,0], [5,2], [6,1], [4,4], [7,1]] public static void main(String[] args 阅读全文
posted @ 2020-10-06 09:04 冬马党 阅读(1296) 评论(0) 推荐(0)
摘要: 路径 C:\Users\liyh\.gitconfig 内容 [user] name = liyh email = liyh@toutiao.cn [credential] helper = manager [url "https://"] insteadOf = git:// 阅读全文
posted @ 2020-09-30 16:21 冬马党 阅读(573) 评论(0) 推荐(0)
摘要: 1,父组件直接传参,给子组件 webpack 相关 vue 单文件 <template> </template> <script> </script> <style scoped> </style> webpack 使用vue vue-router 的使用 阅读全文
posted @ 2020-09-16 15:55 冬马党 阅读(396) 评论(0) 推荐(0)
摘要: 1.1依赖 <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <version>6.8.5</version> 阅读全文
posted @ 2020-09-04 08:28 冬马党 阅读(342) 评论(0) 推荐(0)
摘要: 批量创建数据 GET /lib4/items/_bulk {"index":{"_id":1}} {"price":40,"itemID":"ID100123"} {"index":{"_id":2}} {"price":50,"itemID":"ID100124"} {"index":{"_id" 阅读全文
posted @ 2020-09-03 23:23 冬马党 阅读(9702) 评论(0) 推荐(1)
摘要: 创建索引和类型 GET /lib3/user { "mappings" : { "user":{ "properties":{ "name":{"type":"text"}, "address":{"type":"text"}, "age":{"type":"integer"}, "interest 阅读全文
posted @ 2020-09-03 23:21 冬马党 阅读(167) 评论(0) 推荐(0)
摘要: 1,对那些有唱歌兴趣的用户按年龄进行分组,并求出每个组的年龄平均值,并按平均年龄的降序进行排序 GET /megacorp/employee{ "size" : 0, "query" : { "match":{ "interests" :"changge" } }, "aggs" : { "age_ 阅读全文
posted @ 2020-09-03 22:15 冬马党 阅读(2496) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页