一、团队作业:http://www.yzhiliao.com/course/70/task/440/show 二、个人作业: 1、项目的代码托管 (1)GitHub 地址:https://github.com/compassblog/GraduateDesignProject (2)码云地址:htt ...
分类:
其他 时间:
2018-05-23 21:56:17
收藏:
0 评论:
0 赞:
0 阅读:
273
分析: 我们如果选择点i,那么我们不能选择i-1和i+1,如果没有这个限制,直接贪心就可行,而加上这个限制,我们考虑同样贪心,每次选择i后,将点i-1,i+1从双向链表中删除,并且将-a[i]+a[i-1]+a[i+1]推入堆中,处理K次,得到最优答案 附上代码: ...
分类:
其他 时间:
2018-05-23 21:56:03
收藏:
0 评论:
0 赞:
0 阅读:
214
s = input('密文:') for c in s: print(chr(ord(c)-3),end='') s = input('明文:') for c in s: print(chr(ord(c)+3),end='') for i in range(12): print(9800+i,chr... ...
分类:
其他 时间:
2018-05-23 21:55:44
收藏:
0 评论:
0 赞:
0 阅读:
174
stuNum = '201709090060' print('年级是:'+stuNum[0:4]) print('专业编号是:'+stuNum[4:9]) print('序号是:'+stuNum[-3:]) IDNo= '440509199906180026' print('省市是:'+IDNo[0... ...
分类:
其他 时间:
2018-05-23 21:55:25
收藏:
0 评论:
0 赞:
0 阅读:
215
爬虫项目爬取猫眼电影TOP100电影信息 项目内容来自:https://github.com/Germey/MaoYan/blob/master/spider.py 由于其中需要爬取的包含电影名字、电影海报图片、演员、上映时间等众多信息,正则表达式代码较为复杂 在parse_one_page(htm ...
分类:
编程语言 时间:
2018-05-23 21:55:10
收藏:
0 评论:
0 赞:
0 阅读:
252
idno ='440000199804024147' 地区=idno[0:6] 生日=idno[6:14] 性别=idno[-2] print(地区,生日,性别) if(int(性别) % 2 == 0): print('girl') else: print('boy') for i in rang... ...
分类:
其他 时间:
2018-05-23 21:54:25
收藏:
0 评论:
0 赞:
0 阅读:
199
# -*- coding: utf-8 -*- """ Fourmi This is a temporary script file. """ import cv2 import os import numpy as np import random import math def extract_... ...
分类:
其他 时间:
2018-05-23 21:54:08
收藏:
0 评论:
0 赞:
0 阅读:
588
Ransom Note Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true ...
分类:
其他 时间:
2018-05-23 21:53:50
收藏:
0 评论:
0 赞:
0 阅读:
184
id='440682199901084345' area = id[0:6] birthday = id[6:14] sex = id[-2] print(area,birthday,sex) if (int(sex) % 2 == 0): print('girl') else: print('bo... ...
分类:
其他 时间:
2018-05-23 21:53:34
收藏:
0 评论:
0 赞:
0 阅读:
193
一、UI2设计好后,BaasServer编译,打包后。如果需要异地部署到其他apache-tomcat服务器上。 1、一定要把BassServer也要拷贝过去。tomcat平级 的位置创建一个runtime 目录,里面放置BaasServer。 2、在tomcat 启动的批处理中添加 环境变量:JU ...
分类:
其他 时间:
2018-05-23 21:53:00
收藏:
0 评论:
0 赞:
0 阅读:
210
Monkey and Banana Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18640 Accepted Submission(s): 9 ...
分类:
其他 时间:
2018-05-23 21:52:45
收藏:
0 评论:
0 赞:
0 阅读:
208
下边缘的求法应该是使用的第二篇论文的方法 上边缘的求法应该是使用的第一篇论文的方法 这是求上边缘的代码: 这段代码应该是对应stixel-world的论文的cost方程,score1-score2是vT之前不包括vT所有点之和减去vT之后包括vT所有点之和. 修改代码: ...
分类:
其他 时间:
2018-05-23 21:52:29
收藏:
0 评论:
0 赞:
0 阅读:
653
id = '440802199707180017'area = id[0:6]birthday = id[6:14]sex = id[-2]print(area, birthday, sex)if (int(sex) % 2 == 0): print('girl')else: print('boy'... ...
分类:
其他 时间:
2018-05-23 21:52:12
收藏:
0 评论:
0 赞:
0 阅读:
176
id= ' 440111199903260346' area = id[0:6] birthday = id[6:14] sex = id[-2] print(area,birthday,sex) if (int(sex) % 2 == 0): print('girl') else: print('... ...
分类:
其他 时间:
2018-05-23 21:51:46
收藏:
0 评论:
0 赞:
0 阅读:
200
今天做了下360的前端星计划测试题,碰到一个有趣的css题,实现如下图效果,记得上次也是在360面试的时候碰到一个有趣的css实现宝马logo,不得不说360的面试题还是很有创意的。 我一直努力想用一个div实现这个效果,但是想了很久,也没找到一个较好的解决方法,暂且先用笨办法实现了,主要运用了CS ...
分类:
Web开发 时间:
2018-05-23 21:51:19
收藏:
0 评论:
0 赞:
0 阅读:
218
create or replace function func_add_column() returns int as$body$begin perform * from pg_tables where tablename = '表名'; if found then perform * from p ...
分类:
数据库技术 时间:
2018-05-23 21:51:02
收藏:
0 评论:
0 赞:
0 阅读:
289
print(ord('+')) print(chr(9800)) print(chr(9801)) for i in range(12): print(9800+i,chr(9800+i)) ...
分类:
其他 时间:
2018-05-23 21:50:45
收藏:
0 评论:
0 赞:
0 阅读:
221
2.1.正确的解法: #include<iostream>using namespace std;int main(){ int a; int *p=&a; a=9; cout<<"the value at p :"<<*p; return 0;} 错的地方在于,*p是一个指针,还没有地址不能给他赋 ...
分类:
其他 时间:
2018-05-23 21:50:26
收藏:
0 评论:
0 赞:
0 阅读:
188
近日恰逢老男孩全栈8期毕业季,课程后期大家“期待+苦逼”的时刻莫过于每天早上内容回顾和面试题问答部分【临近毕业每天课前用40-60分钟对之前内容回顾、提问和补充,专挑班里不爱说话就的同学回答】。 期待的是可以检验自己学习的成功;苦逼的是怎么又有东西没记住,但我们依然每天坚持一遍、一遍又一遍指导记住为 ...
分类:
其他 时间:
2018-05-23 21:50:11
收藏:
0 评论:
0 赞:
0 阅读:
255
本文将和大家一起编写我们的第一个BLE应用程序:Blinky(闪灯程序),哪怕你之前没有任何BLE开发经验,也不用担心,只要跟着文中所述步骤,你就可以一步步搭建自己的第一个BLE应用程序。通过这个Blinky程序的搭建,你将体会到BLE的一些基本概念,对BLE将会有一个非常直观的认识,为后续自己的B ...
分类:
其他 时间:
2018-05-23 21:49:53
收藏:
0 评论:
0 赞:
0 阅读:
1014