- 博客(16)
- 收藏
- 关注
原创 Idea 2020 新手教程·详细配置maven项目和JavaWeb项目
Idea 2020目录1.创建maven项目2.创建java-web项目1.创建maven项目1.new project2.注意第4步是apache.maven中的webapp3.4.5.确认Maven设置6.配置tomcat 每次都需确认Tomcat Home和Tomcat base directory解决4的警告步骤2:项目名:war exploed是热部署热部署:服务器运行时重新部署项目,简单理解就是修改..
2020-09-28 15:04:51
1024
原创 Wannafly挑战赛15
链接:https://www.nowcoder.com/acm/contest/112/A来源:牛客网A-最小化价格题目描述现有n组人,m个地点,给出每组人的人数,每个地点可容纳的最大人数和选择的价格 要求一种方式,使得每组人都到一个各不相同的地点,最小化选择的价格 每个队伍的人都要在同一个地方每个地方只能有一个队伍输入描述:第一行n,m第二行n个数,表示每组的人数接下来m行,每行两个...
2018-05-16 19:25:59
199
原创 HDU-1251统计难题(字典树)
统计难题Problem DescriptionIgnatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表的是老师交给Ignatius统计的单词,一个空行代表单词表的结束.第二部分是一连串的提问,每行一...
2018-04-24 09:58:26
238
原创 Java试水题目—万年历
万年历如题,就是万年历而已。只是想记录下这个月学习的进程。代码如下:import java.util.Scanner;public class printCalendarDemo{ public static void main(String [] agrs) { int year,month; int days=0,totDays=0,curMonDays=0
2017-12-19 19:55:15
368
原创 周赛的题目—Rounding
Rounding Vasya has a non-negative integer n. He wants to round it to nearest integer, which ends up with 0. If n already ends up with 0, Vasya considers it already rounded.For example, if n = 47
2017-12-19 19:50:11
251
原创 11月的反省
emmm....文如其题,就是反省。我觉得我要把这篇文章匿了,反正就变成我一个人看的就好,貌似没办法匿╮(╯▽╰)╭,那就只保存不上传吧。说实话,11月没写题,就算是比赛都没写题。其实自己挺矛盾的,一边怀疑着自己是否适合做这个,一边又在莫名的坚持。我自己都不知道在干什么,不想写题,不想去看代码。排斥的真的很严重。全是不知道的知识,全是大佬,全是可以为此付出全部时间的人。我不是,上述
2017-12-11 21:45:10
143
原创 周赛的题目—Chtholly's request
Chtholly's request — Thanks a lot for today.— I experienced so many great things.— You gave me memories like dreams... But I have to leave now...— One last request, can you...— Help me
2017-12-11 21:01:42
305
原创 周赛的题目—Scarborough Fair
Scarborough FairAre you going to Scarborough Fair?Parsley, sage, rosemary and thyme.Remember me to one who lives there.He once was the true love of mine.Willem is taking the girl to th
2017-12-11 20:54:13
221
原创 POJ-Joseph
JosephTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 55080 Accepted: 21055DescriptionThe Joseph's problem is notoriously known. For those who are not familiar with the original pr
2017-11-03 19:25:21
315
原创 HDU-整除的尾数
整除的尾数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 42143 Accepted Submission(s): 18083Problem Description一个整数,只知道前几位,不知道末二位,被另一个整
2017-10-18 20:34:09
196
原创 POJ—DNA Sorting
DNA SortingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 103622 Accepted: 41507DescriptionOne measure of ``unsortedness'' in a sequence is the number of pairs of entries that a
2017-10-12 22:20:37
198
原创 POJ-I Think I Need a Houseboat
I Think I Need a HouseboatTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 105582 Accepted: 45989DescriptionFred Mapper is considering purchasing some land in Louisiana to build h
2017-10-08 20:54:44
240
原创 POJ-Financial Management
Financial ManagementTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 187040 Accepted: 71060DescriptionLarry graduated this year and finally has a job. He's making a lot of money,
2017-10-04 14:57:04
231
原创 POJ-Hangover
HangoverTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 127984 Accepted: 62482DescriptionHow far can you make a stack of cards overhang a table? If you have one card, you can cre
2017-10-04 14:19:43
259
原创 POJ—487-3279
Businesses like to have memorable telephone numbers. One way to make a telephone number m
2017-10-03 21:18:55
455
1
原创 HDU—2021发工资咯
发工资咯:)Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 64112 Accepted Submission(s): 34652Problem Description作为杭电的老师,最盼望的日子就是每月的8号了,因为
2017-10-03 20:32:51
231
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人