12 2019 档案

摘要:最小公倍数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(93) 评论(0) 推荐(0) 编辑
摘要:Description求和是一种最常见的运算,我们经常做的就是1加到n的和。例如,1加到100的和是5050。但是现在,我们稍微变动一下求和方法,对于属于2的幂次的数,我们做的是减法,其余仍旧做加法。例如,当n=... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(83) 评论(0) 推荐(0) 编辑
摘要:DescriptionFind the number of k-divisible numbers on the segment [a, b]. In other words you need to find t... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(115) 评论(0) 推荐(0) 编辑
摘要:Problem Description给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni, Ni+1, ..., Nj },其中 1 int main(){ int n; ... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(171) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionA range is given, the begin and the end are both integers. You should sum the cube of a... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(83) 评论(0) 推荐(0) 编辑
摘要:Problem Description杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(91) 评论(0) 推荐(0) 编辑
摘要:Problem Description 小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多数的问题,今天,小明想考考你对素数的认识。 问题是这样的:一个十进制数,如果是素数,而且它的各位数字和也是素数,则称... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(150) 评论(0) 推荐(0) 编辑
摘要:Problem Description把一个偶数拆成两个不同素数的和,有几种拆法呢? Input输入包含一些正的偶数,其值不会超过10000,个数不会超过500,若遇0,则结束。 Output对应每个偶数,输出其... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(120) 评论(0) 推荐(0) 编辑
摘要:Problem Description对于表达式n^2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39int su[1000000]={1,1};int main(){ for(int i=2... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(74) 评论(0) 推荐(0) 编辑
摘要:DescriptionCan you imagine our life if we removed all zeros from it? For sure we will have many problems.I... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(79) 评论(0) 推荐(0) 编辑
摘要:又见GCDTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(70) 评论(0) 推荐(0) 编辑
摘要:CakeTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s)... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(124) 评论(0) 推荐(0) 编辑
摘要:Wolf and RabbitTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Su... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(85) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionIgnatius drinks milk everyday, now he is in the supermarket and he wants to choose a bo... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(350) 评论(0) 推荐(0) 编辑
摘要:Description“今年暑假不AC?” “是的。” “那你干什么呢?” “看世界杯呀,笨蛋!” “@#$%^&*%...” 确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视了。... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(70) 评论(0) 推荐(0) 编辑
摘要:C - 开门人和关门人(结构体+sort)Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit St... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(90) 评论(0) 推荐(0) 编辑
摘要:Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64Submit StatusDescriptionLimak ... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(79) 评论(0) 推荐(0) 编辑
摘要:前m大的数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(91) 评论(0) 推荐(0) 编辑
摘要:The MAXTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(110) 评论(0) 推荐(0) 编辑
摘要:EXCEL排序Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submissio... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(104) 评论(0) 推荐(0) 编辑
摘要:大菲波数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s)... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(115) 评论(0) 推荐(0) 编辑
摘要:1stingTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(95) 评论(0) 推荐(0) 编辑
摘要:Big NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submiss... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(136) 评论(0) 推荐(0) 编辑
摘要:A + B Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total S... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(138) 评论(0) 推荐(0) 编辑
摘要:DescriptionLittle Petya often travels to his grandmother in the countryside. The grandmother has a large g... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(192) 评论(0) 推荐(0) 编辑
摘要:DescriptionThe hero of our story, Valera, and his best friend Arcady are still in school, and therefore th... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(128) 评论(0) 推荐(0) 编辑
摘要:J - FootballCrawling in process...Crawling failedTime Limit:2000MS Memory Limit:262144KB 64bit IO F... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(317) 评论(0) 推荐(0) 编辑
摘要:Red and BlackTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Subm... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(78) 评论(0) 推荐(0) 编辑
摘要:继续畅通工程Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(88) 评论(0) 推荐(0) 编辑
摘要:畅通工程Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s)... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(88) 评论(0) 推荐(0) 编辑
摘要:畅通工程Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s)... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(82) 评论(0) 推荐(0) 编辑
摘要:还是畅通工程Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(... 阅读全文
posted @ 2019-12-12 09:01 千金一发 阅读(136) 评论(0) 推荐(0) 编辑
摘要:Description给你一个m×n的整数矩阵,在上面找一个x×y的子矩阵,使子矩阵中所有元素的和最大。Input输入数据的第一行为一个正整数T,表示有T组测试数据。每一组测试数据的第一行为四个正整数m,n,x,... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(89) 评论(0) 推荐(0) 编辑
摘要:DescriptionJesus, what a great movie! Thousands of people are rushing to the cinema. However, this is real... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(645) 评论(0) 推荐(0) 编辑
摘要:Description都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(75) 评论(0) 推荐(0) 编辑
摘要:Description据说在很久很久以前,可怜的兔子经历了人生中最大的打击——赛跑输给乌龟后,心中郁闷,发誓要报仇雪恨,于是躲进了杭州下沙某农业园卧薪尝胆潜心修炼,终于练成了绝技,能够毫不休息得以恒定的速度(VR... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(130) 评论(0) 推荐(0) 编辑
摘要:DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequen... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(77) 评论(0) 推荐(0) 编辑
摘要:Description在讲述DP算法的时候,一个经典的例子就是数塔问题,它是这样描述的: 有如下所示的数塔,要求从顶层走到底层,若每一步只能走到相邻的结点,则经过的结点的数字之和最大是多少? 已经告诉你了,这是... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(77) 评论(0) 推荐(0) 编辑
摘要:DescriptionConsider an arbitrary sequence of integers. One can place + or - operators between integers in ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(111) 评论(0) 推荐(0) 编辑
摘要:DESCRIPTIONGiven a number sequence [3,7,22,45,116,...][3,7,22,45,116,...]. Please tell me the kk-th number... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(301) 评论(0) 推荐(0) 编辑
摘要:DescriptionThe system of Martians' blood relations is confusing enough. Actually, Martians bud when they w... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(68) 评论(0) 推荐(0) 编辑
摘要:DescriptionDandelion's uncle is a boss of a factory. As the spring festival is coming , he wants to distri... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(245) 评论(0) 推荐(0) 编辑
摘要:Description有N个比赛队(1#include#includeusing namespace std;int map[1001][1001];int die[1001];int cun[1001];voi... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(166) 评论(0) 推荐(0) 编辑
摘要:DescriptionBoudreaux likes to multitask, especially when it comes to using his computer. Never satisfied w... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(87) 评论(0) 推荐(0) 编辑
摘要:DescriptionXX星球有很多城市,每个城市之间有一条或多条飞行通道,但是并不是所有的路都是很安全的,每一条路有一个安全系数s,s是在 0 和 1 间的实数(包括0,1),一条从u 到 v 的通道P 的安全... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(74) 评论(0) 推荐(0) 编辑
摘要:Description某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(42) 评论(0) 推荐(0) 编辑
摘要:Description1967年,美国著名的社会学家斯坦利·米尔格兰姆提出了一个名为“小世界现象(small world phenomenon)”的著名假说,大意是说,任何2个素不相识的人中间最多只隔着6个人,即... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(181) 评论(0) 推荐(0) 编辑
摘要:Description虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中 会遇见很多人(白马王子,^0^),很多事,还能丰富自己的阅历,还可以看美丽的风... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(61) 评论(0) 推荐(0) 编辑
摘要:Description在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最短的从商店到赛场的路线,... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(56) 评论(0) 推荐(0) 编辑
摘要:DescriptionThe island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has no public highways... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(222) 评论(0) 推荐(0) 编辑
摘要:Description985有n个数,已知每次操作可以将其中不相同的两个数一个加一、一个减一,操作次数不限。问他最多可以得到多少个相同的数。Input第一行输入一个整数t,代表有t组测试数据。每组数据占两行,第一... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(79) 评论(0) 推荐(0) 编辑
摘要:Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 325 Solved: 59SubmitStatusWeb BoardDescription985走入了一个n * ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(91) 评论(0) 推荐(0) 编辑
摘要:DescriptionClaire and her little friend, ykwd, are travelling in Shevchenko's Park! The park is beautiful ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(131) 评论(0) 推荐(0) 编辑
摘要:Description 随着杭州西湖的知名度的进一步提升,园林规划专家湫湫希望设计出一条新的经典观光线路,根据老板马小腾的指示,新的风景线最好能建成环形,如果没有条件建成环形,那就建的越长越好。 现在已经勘... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(120) 评论(0) 推荐(0) 编辑
摘要:DescriptionGiven a tree (a connected graph with no cycles), you have to find the farthest nodes in the tre... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(76) 评论(0) 推荐(0) 编辑
摘要:DescriptionA school bought the first computer some time ago(so this computer's id is 1). During the recent... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(570) 评论(0) 推荐(0) 编辑
摘要:DescriptionThe northern part of the Pyramid contains a very large and complicated labyrinth. The labyrinth... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(77) 评论(0) 推荐(0) 编辑
摘要:DescriptionBuilding and maintaining roads among communities in the far North is an expensive business. Wit... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(72) 评论(0) 推荐(0) 编辑
摘要:DescriptionAfter hearing about the epidemic of obesity in the USA, Farmer John wants his cows to get more ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(116) 评论(0) 推荐(0) 编辑
摘要:Problem Description欧拉回路是指不令笔离开纸面,可画过图中每条边仅一次,且可以回到起点的一条回路。现给定一个图,问是否存在欧拉回路? Input测试输入包含若干测试用例。每个测试用例的第1行给出... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(76) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionIt’s an interesting experience to move from ICPC to work, end my college life and start... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(131) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionOne day, Lin Ji wake up in the morning and found that his pethamster escaped. He search... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(261) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionA tree is a well-known data structure that is either empty (null, void, nothing) or is ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(124) 评论(0) 推荐(0) 编辑
摘要:Problem Descriptionice_cream's world is a rich country, it has many fertile lands. Today, the queen of ice... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(93) 评论(0) 推荐(0) 编辑
摘要:Problem Description上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(48) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionMr Wang wants some boys to help him with a project. Because the project is rather compl... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(98) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionToday is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatiu... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(106) 评论(0) 推荐(0) 编辑
摘要:DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recog... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(77) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionAs we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives R... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(86) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionPass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ni... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(108) 评论(0) 推荐(0) 编辑
摘要:DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediat... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(76) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is describ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(288) 评论(0) 推荐(0) 编辑
摘要:DescriptionFarmer John's farm was flooded in the most recent storm, a fact only aggravated by the informat... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(76) 评论(0) 推荐(0) 编辑
摘要:Description呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(71) 评论(0) 推荐(0) 编辑
摘要:DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(69) 评论(0) 推荐(0) 编辑
摘要:DescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(190) 评论(0) 推荐(0) 编辑
摘要:DescriptionOur lovely KK has a difficult mathematical problem:he has a N\left( 1\leq N\leq {10}^{18}\right... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(90) 评论(0) 推荐(0) 编辑
摘要:DescriptionBizon the Champion isn't just charming, he also is very smart.While some of us were learning th... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(265) 评论(0) 推荐(0) 编辑
摘要:Year is coming! Our big boss Wine93 will distribute some “Red Package”, just like Alipay and Wechat.Wine93... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(618) 评论(0) 推荐(0) 编辑
摘要:DescriptionMy birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a numb... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(216) 评论(0) 推荐(0) 编辑
摘要:DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves caref... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(61) 评论(0) 推荐(0) 编辑
摘要:DescriptionWhen a thin rod of length L is heated n degrees, it expands to a new length L' = (1+n*C)*L, whe... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(65) 评论(0) 推荐(0) 编辑
摘要:DescriptionA narrow street is lined with tall buildings. An x foot long ladder is rested at the base of th... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(150) 评论(0) 推荐(0) 编辑
摘要:Problem Description有一台机器,并且给你这台机器的工作表,工作表上有n个任务,机器在ti时间执行第i个任务,1秒即可完成1个任务。有m个询问,每个询问有一个数字q,表示如果在q时间有一个工作表之... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(147) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionThe annual Games in frogs' kingdom started again. The most famous game is the Ironfrog ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(134) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionGive you three sequences of numbers A, B, C, then we give you a number X. Now you need ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(250) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionInhabitants of the Wonderland have decided to hold a regional programming contest. The ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(89) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionNow,given the equation 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y,can you find its solution b... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(85) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionJam has a math problem. He just learned factorization.He is trying to factorize ax2+bx+... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(58) 评论(0) 推荐(0) 编辑
摘要:DescriptionFibsieve had a fantabulous (yes, it's an actual word) birthday party this year. He had so many ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(87) 评论(0) 推荐(0) 编辑
摘要:DescriptionGiven two integers: n and m and n is divisible by 2m, you have to write down the first n natura... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(90) 评论(0) 推荐(0) 编辑
摘要:DescriptionEkka and his friend Dokka decided to buy a cake. They both love cakes and that's why they want ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(101) 评论(0) 推荐(0) 编辑
摘要:DescriptionYou task is to find minimal natural number N, so that N! contains exactly Q zeroes on the trail... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(68) 评论(0) 推荐(0) 编辑
摘要:long long mid; long long ans; while(r>=l)//二分经典模板 { mid=(l+r)/2;... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(41) 评论(0) 推荐(0) 编辑
摘要:DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the o... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(63) 评论(0) 推荐(0) 编辑
摘要:Problem Description求A^B的最后三位数表示的整数。说明:A^B的含义是“A的B次方” Input输入数据包含多个测试实例,每个实例占一行,由两个正整数A和B组成(1int quickpow(i... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(79) 评论(0) 推荐(0) 编辑
摘要:DescriptionPeople are different. Some secretly read magazines full of interesting girls' pictures, others ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(146) 评论(0) 推荐(0) 编辑
摘要:DescriptionFermat's theorem states that for any prime number p and for any integer a > 1, ap = a (mod p). ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(63) 评论(0) 推荐(0) 编辑
摘要:Problem Descriptionsoda has a set S with n integers {1,2,…,n}. A set is called key set if the sum of integ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(123) 评论(0) 推荐(0) 编辑
摘要:#includeint quickpow(int n,int m,int mod){int ans=1,base=n;while(m){if(m&1){ans=(base*ans)%mod;}base=(base... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(39) 评论(0) 推荐(0) 编辑
摘要:DescriptionFamil Door wants to celebrate his birthday with his friends from Far Far Away. He has n friends... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(126) 评论(0) 推荐(0) 编辑
摘要:时间限制:4000 ms | 内存限制:65535 KB描述 LT最近一直在无限循环薛之谦的歌,简直都中毒了!可是呢…他的歌LT还是不会唱(其实不止他的歌LT不会唱,所有人的歌LT都不会唱…因为LT是标准的音... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(83) 评论(0) 推荐(0) 编辑
摘要:时间限制:1000 ms | 内存限制:65535 KB描述 有N个人,N个活动, 每个人只会对2个或者3个活动感兴趣, 每个活动也只有两个人或者三个人对它兴趣,每个人参加一个 感兴趣的活动需要一天 ,且当... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(61) 评论(0) 推荐(0) 编辑
摘要:DescriptionThe inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj)... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(50) 评论(0) 推荐(0) 编辑
摘要:DescriptionIn this problem, you have to analyze a particular sorting algorithm. The algorithm processes a ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(61) 评论(0) 推荐(0) 编辑
摘要:DescriptionVasiliy likes to rest after a hard work, so you may often meet him in some bar nearby. As all p... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(74) 评论(0) 推荐(0) 编辑
摘要:Description给定一个4*4的01棋盘,1代表棋子,0代表空格,棋子1每次可以移动到相邻上下左右四个位置的空格。然后再给定你目标棋盘,问你最少在多少步能把当前棋盘变成目标棋盘状态。Input第一行输入一个... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(65) 评论(0) 推荐(0) 编辑
摘要:DescriptionThere are n distinct points in the plane, given by their integer coordinates. Find the number o... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(77) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionRPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partne... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(79) 评论(0) 推荐(0) 编辑
摘要:Description在三维空间里,晴天得到了一些坐标,然后他想知道这些坐标有没有重合的哇,然后若两个坐标是重合的也就是x=x,y=y,z=z。然后他把这个任务交给你啦。Input输入第一行包含一个整数t表示有多... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(100) 评论(0) 推荐(0) 编辑
摘要:Description晴天也来寻宝啦,有一个m层的宝塔,只能从第一层开始一层一层的往上走,每层都有一个门,你需要用钥匙来打开门才能继续走,现在晴天有n把钥匙,编号为0-n-1,然后他要开始寻宝了。没有特殊技能怎么... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(76) 评论(0) 推荐(0) 编辑
摘要:Description晴天想把一个包含n个整数的序列a分成连续的若干段,且和最大的一段的值最小,但他有强迫症,分的段数不能超过m段,然后他就不会分了。。。他想问你这个分出来的和最大的一段的和最小值是多少?Inpu... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(84) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(85) 评论(0) 推荐(0) 编辑
摘要:DescriptionA group of N Internet Service Provider companies (ISPs) use a private communication channel tha... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(87) 评论(0) 推荐(0) 编辑
摘要:Problem Description?? gets an sequence S with n intergers(0 #include #include using namespace std; in... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(90) 评论(0) 推荐(0) 编辑
摘要:Problem DescriptionMany years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. T... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(82) 评论(0) 推荐(0) 编辑
摘要:DescriptionSometimes some mathematical results are hard to believe. One of the common problems is the birt... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(659) 评论(0) 推荐(0) 编辑
摘要:DescriptionFox Ciel is playing a mobile puzzle game called "Two Dots". The basic levels are played on a bo... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(84) 评论(0) 推荐(0) 编辑
摘要:DescriptionThere is a pile of n wooden sticks. The length and weight of each stick are known in advance. T... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(63) 评论(0) 推荐(0) 编辑
摘要:DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(67) 评论(0) 推荐(0) 编辑
摘要:DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(67) 评论(0) 推荐(0) 编辑
摘要:Description 大家都知道小明最喜欢研究跟序列有关的问题了,可是也就因为这样,小明几乎已经玩遍各种序列问题了。可怜的小明苦苦地在各大网站上寻找着新的序列问题,可是找来找去都是自己早已研究过的序列。小明想... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(97) 评论(0) 推荐(0) 编辑
摘要:Description我们有一个数列A1,A2...An,你现在要求修改数量最少的元素,使得这个数列严格递增。其中无论是修改前还是修改后,每个元素都必须是整数。 请输出最少需要修改多少个元素。Input第一行输入... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(201) 评论(0) 推荐(0) 编辑
摘要:DescriptionNowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(62) 评论(0) 推荐(0) 编辑
摘要:Description'Oh no, they've done it again', cries the chief designer at the Waferland chip factory. Once mo... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(79) 评论(0) 推荐(0) 编辑
摘要:Submit StatusDescriptionThere is a pile of n wooden sticks. The length and weight of each stick are known ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(65) 评论(0) 推荐(0) 编辑
摘要:DescriptionJGShining's kingdom consists of 2n(n is no more than 500,000) small cities which are located in... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(47) 评论(0) 推荐(0) 编辑
摘要:Description 小火山和火山火山在一块玩跳子游戏。规则如下: 1:跳子的起始位置为0,棋盘大小从1到N 2:每次跳子跳k步。 例如当前位置为i, 那么下一步为i + k 3:跳子过程中,碰到1或N... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(144) 评论(0) 推荐(0) 编辑
摘要:Description别人说小火山的计算能力不行,小火山很生气,于是他想证明自己,现在有一个表达式,他想计算出来。Input首先是一个t(1#include#include#includeusing namesp... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(88) 评论(0) 推荐(0) 编辑
摘要:Description 小火山最近喜欢上了围棋。 对于围棋,其实小火山是一窍不通的。现在棋盘上,有很多小火山的棋子。 如果棋盘上有这样的一个位置, 那么这个位置也会变成小火山的棋子;这样的位置是指小火山的棋子... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(84) 评论(0) 推荐(0) 编辑
摘要:DescriptionA group of researchers are designing an experiment to test the IQ of a monkey. They will hang a... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(103) 评论(0) 推荐(0) 编辑
摘要:Description平面上有n条直线,且无三线共点,问这些直线能有多少种不同交点数。 比如,如果n=2,则可能的交点数量为0(平行)或者1(不平行)。Input输入数据包含多个测试实例,每个测试实例占一行,每行... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(759) 评论(0) 推荐(1) 编辑
摘要:>传送门< 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(1357) 评论(0) 推荐(0) 编辑
摘要:其实也就是垂直轮播图的原理,当然可以直接使用轮播图组件去实现,在网上看到一个用很简单的代码就实现了的,一看就懂,可以在他的代码的基础上进行修改 >原文 ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(1032) 评论(0) 推荐(0) 编辑
摘要:在写小程序提交表单的时候,快速点击提交按钮会提交多次,想到要使用‘防抖’(debounce) 和 ‘节流’(throttling),这两个具体的概念用法在网上都可以查到,这篇文章分享的是我在小程序中,根据原理简单... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(623) 评论(0) 推荐(0) 编辑
摘要:table用来展示表格数据很方便,当我们想要将某一行或者某一列或者是某一格的背景色改变,下面是官方的方法行:通过属性 row-class-name 可以给某一行指定一个样式名称。列:通过给列 columns 设置... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(3576) 评论(0) 推荐(0) 编辑
摘要:官方小程序标题栏的文档小程序页面有的上面标题栏为透明的,效果如下图,背景是一张图片。标题栏的文字颜色也无法直接修改,可以通过修改标题栏的背景色间接修改(字体颜色会随着背景色改变而改变),但好像只有两种颜色,白色和... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(1360) 评论(0) 推荐(0) 编辑
摘要:如果本地运行多个vue+webpack项目会报错:Error: listen EADDRINUSE: address already in use 127.0.0.1:80;地址端口已经被占用在后台查找端口,用命... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(2101) 评论(0) 推荐(0) 编辑
摘要:在小程序页面生成二维码,先看下目录结构,除了四个必备文件之外,引入了三个文件一个是条形码,一个是二维码在.js文件中引入配置function barc(id, code, width, height){ b... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(958) 评论(0) 推荐(0) 编辑
摘要:获取时间戳my.getServerTime({ success: (res) => { this.setData({ timestamp:res.time ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(83) 评论(0) 推荐(0) 编辑
摘要:当获取列表数据之后,存到一个数组中 text在axml中需要循环的地方使用a:for="{{text}}",item.属性去渲染数据,当我们想要获取列表中某一条数据的id,也就是在列表中的位置,可以在渲染的vi... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(208) 评论(0) 推荐(0) 编辑
摘要:DescriptionAgent J is preparing to steal an antique diamond piece from a museum. As it is fully guarded an... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(71) 评论(0) 推荐(0) 编辑
摘要:上传图片到oss,线上项目若需要提交图片,我现在使用oss保存https://help.aliyun.com/document_detail/127260.html?spm=5176.11065259.19966... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(3604) 评论(0) 推荐(0) 编辑
摘要:tabbars 底部导航tabbar组件 放pages里就行 只需axml和acss,代码如下 //template.axml {{... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(1757) 评论(0) 推荐(0) 编辑
摘要:之前没有写过小程序,这个月着手一个支付宝小程序,全凭官方文档苟活,分享一些基础,方便入门没写过微信小程序,所以对于两者之间具体的对比也不是很清楚,但很多东西还是很相似,我在网上查不到支付宝小程序的一些问题,就查微... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(183) 评论(0) 推荐(0) 编辑
摘要:1.express Web 应用程序Express 是一个保持最小规模的灵活的 Node.js Web 应用程序开发框架,为 Web 和移动应用程序提供一组强大的功能 npm install express -... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(74) 评论(0) 推荐(0) 编辑
摘要:制作文字动画效果 样式挺多1、从官网下载 https://raw.github.com/daneden/animate.css/master/animate.css 下载文件,在项目中引入 2.直接在项... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(112) 评论(0) 推荐(0) 编辑
摘要:创建项目vue init webpack 项目名称加载项目所需环境npm install下载vuxnpm install vux --savenpm install vux-loader --save --... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(320) 评论(0) 推荐(0) 编辑
摘要:一 vue-cli安装教程 https://www.jianshu.com/p/32beaca25c0d在项目目录下下载axiosnpm install --save axios然后 npm instal... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(46) 评论(0) 推荐(0) 编辑
摘要:按图中步骤搞输入服务器地址和用户名,点击Next 再输入密码 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(196) 评论(0) 推荐(0) 编辑
摘要:首先要保证项目能够运行在xshell6中连接 自己的服务器会话,配置环境 sudo update-alternatives --install /usr/bin/python python /usr/bin/p... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(120) 评论(0) 推荐(0) 编辑
摘要:因为几乎没人回答这个问题,我是在某个评论中看到的​​​​​在配置elasticsearch.yml文件时 (我是在文件最后加入的下面的代码,在:后面要加个空格,不然运行会出错o(╥﹏╥)o)http.cors... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(507) 评论(0) 推荐(0) 编辑
摘要:在网上找了好几个,有的可能时间久了butaixing,有个比较简单,按照步骤就可以https://www.jianshu.com/p/2d9fa3659645可以安装cnpm代替npm 加快下载 n... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(561) 评论(0) 推荐(0) 编辑
摘要:问题 1004: 母牛的故事时间限制: 1Sec 内存限制: 128MB 提交: 3463 解决: 764题目描述有一头母牛,它每年年初生一头小母牛。每头小母牛从第四个年头开始,每年年初也生一头小母牛。请编程实现... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(95) 评论(0) 推荐(0) 编辑
摘要:DescriptionYou've decided to carry out a survey in the theory of prime numbers. Let us remind you that a p... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(96) 评论(0) 推荐(0) 编辑
摘要:DescriptionWhen Teddy was a child , he was always thinking about some simple math problems ,such as “What ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(77) 评论(0) 推荐(0) 编辑
摘要:DescriptionYou are given N sticks having distinct lengths; you have to form some triangles using the stick... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(105) 评论(0) 推荐(0) 编辑
摘要:DescriptionGiven a code (not optimized), and necessary inputs, you have to find the output of the code for... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(78) 评论(0) 推荐(0) 编辑
摘要:DescriptionYou are given two integers: n and k, your task is to find the most significant three digits, an... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(65) 评论(0) 推荐(0) 编辑
摘要:DescriptionThere is sequence 1, 12, 123, 1234, ..., 12345678910, ... . Now you are given two integers A an... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(79) 评论(0) 推荐(0) 编辑
摘要:DescriptionA parallelogram is a quadrilateral with two pairs of parallel sides. See the picture below:Fig:... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(71) 评论(0) 推荐(0) 编辑
摘要:Problem Description老 Jack 有一片农田,以往几年都是靠天吃饭的。但是今年老天格外的不开眼,大旱。所以老 Jack 决定用管道将他的所有相邻的农田全部都串联起来,这样他就可以从远处引水过来进... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(123) 评论(0) 推荐(0) 编辑
摘要:Description杭州有N个景区,景区之间有一些双向的路来连接,现在8600想找一条旅游路线,这个路线从A点出发并且最后回到A点,假设经过的路线为V1,V2,....VK,V1,那么必须满足K>2,就是说至除... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(75) 评论(0) 推荐(0) 编辑
摘要:Problem Description众所周知,度度熊喜欢各类体育活动。今天,它终于当上了梦寐以求的体育课老师。第一次课上,它发现一个有趣的事情。在上课之前,所有同学要排成一列, 假设最开始每个人有一个唯一的ID... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(99) 评论(0) 推荐(0) 编辑
摘要:DescriptionFind the number of k-divisible numbers on the segment [a, b]. In other words you need to find t... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(97) 评论(0) 推荐(0) 编辑
摘要:DescriptionSee the picture below.You are given AB, AC and BC. DE is parallel to BC. You are also given the... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(67) 评论(0) 推荐(0) 编辑
摘要:DescriptionFibsieve had a fantabulous (yes, it's an actual word) birthday party this year. He had so many ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(103) 评论(0) 推荐(0) 编辑
摘要:DescriptionFactorial of an integer is defined by the following functionf(0) = 1f(n) = f(n - 1) * n, if(n >... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(87) 评论(0) 推荐(0) 编辑
摘要:DescriptionThere are many rook on a chessboard, a rook can attack the row and column it belongs, including... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(78) 评论(0) 推荐(0) 编辑
摘要:DescriptionNothing has changed since the last round. Dima and Inna still love each other and want to be to... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(117) 评论(0) 推荐(0) 编辑
摘要:DescriptionOhana Matsumae is trying to clean a room, which is divided up into an n by n grid of squares. E... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(70) 评论(0) 推荐(0) 编辑
摘要:DescriptionLimak and Radewoosh are going to compete against each other in the upcoming algorithmic contest... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(106) 评论(0) 推荐(0) 编辑
摘要:DescriptionLimak is a little polar bear. He has n balls, the i-th ball has size ti.Limak wants to give one... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(106) 评论(0) 推荐(0) 编辑
摘要:DescriptionYou are given an array of n elements, you must make it a co-prime array in as few moves as poss... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(117) 评论(0) 推荐(0) 编辑
摘要:DescriptionAlice and Bob are playing a game. The game involves splitting up game pieces into two teams. Th... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(84) 评论(0) 推荐(0) 编辑
摘要:动态加载数据也就多了一个请求,先把自己要的图表设置好,数据可以先写死数据,也可不写然后请求接口在success中设置对应的数组值$.ajax({ url: '', type: 'post', data... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(395) 评论(0) 推荐(0) 编辑
摘要:本来我是设置浏览器窗口改变就刷新整个页面,在本地测试没有问题,但是放到线上之后导致页面一直在刷新,未解随后了解到图表直接随浏览器窗口大小而改变的方法,页面其他的元素用vw vh就能实现自适应,所以只需要让图表也自... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(1186) 评论(0) 推荐(0) 编辑
摘要:body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, bu... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(112) 评论(0) 推荐(0) 编辑
摘要:测试:点击与我聊天有时候会看到网页中能够点击直接打开qq聊天框,如何设置?方法如下在QQ推广中心 切换到推广工具,登陆之后下面会生成代码,里面的href就是跳转对话框,uin=后面的就是点击按钮之后(此时需要... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(503) 评论(0) 推荐(0) 编辑
摘要:有时候文字长度过长,会导致某些值消失,所以设置换行能够解决 xAxis : [ { type : 'category', data : [], axisLabel: { show: true,... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(3099) 评论(2) 推荐(0) 编辑
摘要:在使用iview-admin框架编写目录时报了一大堆警告信息,和vue-i18n有关解决方法在项目的locale下的index.js文件中修改配置,让在创建 i18n 示例的时候加上参数去掉这些 warningc... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(2500) 评论(0) 推荐(0) 编辑
摘要:iview-admin中import Icons from '_c/icons' 的‘_c’在项目的最外层有配置文件vue.config.js,里面配置了_c为自定义的路径 ... 阅读全文
posted @ 2019-12-12 09:00 千金一发 阅读(321) 评论(0) 推荐(0) 编辑
摘要:参考文章vue使用axios发送post请求,出现错误,服务端无法接收到参数,因为大多数的web服务器只能识别form的post的请求,即请求头Content-Type为’application/x-www-fo... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(1532) 评论(0) 推荐(0) 编辑
摘要:这是格式问题,很无厘头,检查的东西叫eslint,会检测代码中的潜在 Bug,还能做一些类型检查,把它关掉就好了网上有不同的解决方法1.关闭eslint 。在vue项目中找到build文件夹 --> webpac... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(1980) 评论(0) 推荐(0) 编辑
摘要:今天写项目要从仓库中取出一个值,但我一直取得是undefined,各种测试百度,然而我犯了一个低级的错误我在store文件下又建立了子文件user.js,然后在index.js将其引入 然后我直接使用this.$... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(1269) 评论(0) 推荐(0) 编辑
摘要:今天升级版本发现图标显示不出来,重新引入了好几次还是不行,百度改路径也不行,然后我发现了这句话还是在文档最底部,我·#¥%~·#¥引入方法和阿里图标一样 ... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(3467) 评论(0) 推荐(0) 编辑
摘要:今个因为项目要用弹出框,没有合适的就自己写,原理简单,写一个div,相对于浏览器窗口定位,初始高度为0,此时不显示,点击按钮给div添加一个高度,赋予动画时间 点击 添加合伙人 ... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(117) 评论(0) 推荐(0) 编辑
摘要:今天项目中有个要求,vue页面一个页面里展示图表需要单独拿出来,就是只能访问图表内容,看不到导航vue页面本就是嵌套显示的,只需要把页面单独拿出来放到页面中 第一个路径是在导航栏中,第二个写在导航栏外,设... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(1533) 评论(0) 推荐(0) 编辑
摘要:正常我们的写法是,这样ref不会生效,h是作用在渲染的时候的,而ref是渲染之后才创建的,因此在h函数中使用ref是无效的。render: (h, params) => { return... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(5029) 评论(0) 推荐(0) 编辑
摘要:最近使用iview-admin写了一个后台管理项目,对table这个组件使用的比较多,表格主要内容如下图新建和修改操作是使用iview组件 model(对话框)内嵌form(表单),可做表单验证单选、多选、排序... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(2427) 评论(0) 推荐(0) 编辑
摘要:昨天写项目还好好的,今早上一打开项目页面就进不去,报了这个错原因是我昨天在写项目的时候添加了一个js文件,而之前是只有一个vue文件,在router里引入路径时没有写后缀但是加了js文件后,就无法识别,将后缀加上... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(1179) 评论(0) 推荐(0) 编辑
摘要:1.直接验证,rules添加phone: [ { required: true, message: "请输入手机号码", trigger: "blur" }, { ... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(3899) 评论(1) 推荐(0) 编辑
摘要:之前自己买了个服务器一直没用,在网上看到有这种网站,想自己去写一个玩,一直没时间去写,前段时间有些空余时间,没事就写了一个,只是一个大框架,里面内容可以自己去添加,我现在没心思去弄了地址=> web在线简历 ... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(117) 评论(0) 推荐(0) 编辑
摘要:当我们页面中有数据发生变化或者进行了某些操作的时候,需要将变化后的结果展示,也就是刷新页面,像F5这种刷新会导致页面闪烁,还有 window.reload(),或者router.go(0)刷新时也是,用户体验很差... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(1168) 评论(0) 推荐(0) 编辑
摘要:刚写好的项目在谷歌能打开,ie打不开,需要处理兼容问题先根据这篇文章修改 详解Vue-cli3 项目在安卓低版本系统和IE上白屏问题解决如果没有其他问题是可以了的,下面是我代码中出现的其他问题导致页面无法显... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(6932) 评论(0) 推荐(0) 编辑
摘要:项目中有一个页面需要放到移动端,pc端是通过账号密码登录获取token,跳转网页前,在beforeEach中验证是否已有token,但是在移动端就访问这一个页面,为了避免登录就需要直接用token去访问,我是通过... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(2578) 评论(0) 推荐(0) 编辑
摘要:目录一、iview-admin 二、d2-admin 三、avue四、el-admin五、HeyUI Admin六、VuePress七、鲁班H5八、FastAdmin九、RuoYi十、TIMO十一、Gun... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(1596) 评论(2) 推荐(1) 编辑
摘要:CSS样式初始化代码为什么要初始化CSS? 建站老手都知道,这是为了考虑到浏览器的兼容问题,其实不同浏览器对有些标签的默认值是不同的,如果没对CSS初始化往往会出现浏览器之间的页面差异。当然,初始化样式... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(271) 评论(0) 推荐(0) 编辑
摘要:很多时候我们从后台拿到的数据格式并不是我们想要的,比如时间,一般后台给的是时间戳,前端需要转化为类似YYYY-MM-NN的形式,如果不是直接渲染数据,还是能够使用moment包去转化,如果是像在表格中这种写法还比... 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(230) 评论(0) 推荐(0) 编辑
摘要:鼠标事件 点击 阅读全文
posted @ 2019-12-12 08:59 千金一发 阅读(646) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示