摘要: #题目描述 给定K个整数组成的序列{ N​1​​, N​2​​, ..., N​K​​ },“连续子列”被定义为{ N​i​​, N​i+1​​, ..., N​j​​ },其中 1≤i≤j≤K。“最大子列和”则被定义为所有连续子列元素的和中最大者。例如给定序列{ -2, 11, -4, 13, - 阅读全文
posted @ 2021-08-07 16:39 计科废物1 阅读(87) 评论(0) 推荐(0) 编辑
摘要: #多项式的表示 多项式的关键数据: 多项式项数 各项系数ai及指数i ##顺序存储结构表示非零项 ##链式存储结构表示非零项 #多项式的运算 ##加法(减法) Compare函数,比较P1和P2的指数大小,P1大返回1,P2大返回-1,相等返回0 Attach函数:将计算结果复制到结果多项式 ##乘 阅读全文
posted @ 2021-08-07 11:38 计科废物1 阅读(501) 评论(0) 推荐(0) 编辑
@media only screen and (max-width: 767px){ #sidebar_search_box input[type=text]{width:calc(100% - 24px)} } L2Dwidget.init({ "model": { jsonPath: "https://unpkg.com/live2d-widget-model-hijiki/assets/hijiki.model.json", "scale": 1 }, "display": { "position": "left", "width": 100, "height": 200, "hOffset": 70, "vOffset": 0 }, "mobile": { "show": true, "scale": 0.5 }, "react": { "opacityDefault": 0.7, "opacityOnHover": 0.2 } }); window.onload = function(){ $("#live2dcanvas").attr("style","position: fixed; opacity: 0.7; left: 70px; bottom: 0px; z-index: 1; pointer-events: none;") }