摘要: Given a sequence of K integers { N​1​​, N​2​​, ..., N​K​​ }. A continuous subsequence is defined to be { N​i​​, N​i+1​​, ..., N​j​​ } where 1. The Max 阅读全文
posted @ 2021-01-14 00:13 XA科研 阅读(80) 评论(0) 推荐(0) 编辑
摘要: At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door 阅读全文
posted @ 2021-01-13 22:29 XA科研 阅读(151) 评论(0) 推荐(0) 编辑
摘要: With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing ba 阅读全文
posted @ 2021-01-13 21:45 XA科研 阅读(117) 评论(0) 推荐(0) 编辑
摘要: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev 阅读全文
posted @ 2021-01-13 21:12 XA科研 阅读(143) 评论(0) 推荐(0) 编辑
摘要: scattered 分散的 positive integers 正整数 negative 负的 currently 当前的 respectively 分别的,各自的 guaranteed 保证 print in 打印 separated 分开的 exactly 精确的 digits 数字 conse 阅读全文
posted @ 2021-01-07 23:02 XA科研 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat 阅读全文
posted @ 2021-01-07 22:50 XA科研 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/problem/14323来源:牛客网 题目描述 Hill was a clever boy,he like math very much.Today teacher give him a question. calculate N! . 阅读全文
posted @ 2020-10-28 22:38 XA科研 阅读(124) 评论(0) 推荐(0) 编辑
摘要: new project ->Spring Initializr 完成后,向导会联网创建Spring Boot项目。所以一定要联网。 阅读全文
posted @ 2020-10-26 20:44 XA科研 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less tha 阅读全文
posted @ 2020-10-21 22:24 XA科研 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 读入 n(>)名学生的姓名、学号、成绩,分别输出成绩最高和成绩最低学生的姓名和学号。 输入格式: 每个测试输入包含 1 个测试用例,格式为 第 1 行:正整数 n 第 2 行:第 1 个学生的姓名 学号 成绩 第 3 行:第 2 个学生的姓名 学号 成绩 ... ... ... 第 n+1 行:第 阅读全文
posted @ 2020-10-21 22:06 XA科研 阅读(175) 评论(0) 推荐(0) 编辑