请计算下面每行数的和。 Input第一行有一个整数N,表示有N行数。接下来N行,每行第一个为整数M,表示本行后面有M个整数。Output对于输入的每一行数,请分别对应输出每一行数的和。Sample Input 2 4 1 2 3 4 5 1 2 3 4 5 Sample Output 10 15 H ...
分类:
其他好文 时间:
2020-01-31 10:57:28
阅读次数:
85
链接:http://poj.org/problem?id=3278 题目: Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at ...
分类:
其他好文 时间:
2020-01-23 12:37:55
阅读次数:
96
题面:https://codeforces.com/contest/1294/problem/D 题目大意: 每次都会往你的数列里加一个值,你可以任意加减这个值若干次(但是只能加x或者减x) 然后问最小的不属于这个数列的非负整数是什么 你需要进行的操作是,让这个最小的不属于这个数列的非负整数最大 每 ...
分类:
其他好文 时间:
2020-01-23 09:24:02
阅读次数:
81
在和籽藤沟通之后,意识到了在GITHUB上记录学习过程的重要性,为了记录,也为了激励坚持学习,之后会记录每次学习过程。 目的:将Python 代码push到github push 成功的前提: 1. 初始化 2. 登录 3. 加载要提交的文件 4. 关注远程仓库 5. 本地update到最新版本的项 ...
分类:
其他好文 时间:
2020-01-22 20:02:50
阅读次数:
92
An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the ...
分类:
其他好文 时间:
2020-01-21 13:21:50
阅读次数:
88
This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains one test case. Each case occu ...
分类:
其他好文 时间:
2020-01-19 22:18:53
阅读次数:
107
原标签:<tr id="selected"> <td class="Hint" id="groupIdList"><span class="color-red">*</span>已选分组:</td> <td id=groupIdList1 width="5%" colspan="2"></td></ ...
分类:
Web程序 时间:
2020-01-14 13:06:25
阅读次数:
176
html:<tr> <td class="Hint"><span class="color-red">*</span>选择分组:</td> <td width="40%"> <select id="groupId2" style="width: 80%;height: 30px"> <option ...
分类:
其他好文 时间:
2020-01-13 21:50:44
阅读次数:
91
Style Guide:pep8 / pycodestyle 全部加上type hint Pyflakes Pylint flake8 code review TDD测试案例驱动 mypy静态类型 ...
分类:
编程语言 时间:
2020-01-13 10:41:26
阅读次数:
92
Oracle调优之no_unnest和unnest用法简介 本博客介绍Oracle SQL调优的一种常用也是很实用的方法,也即 和`/ + unnest / / +unnest / / + no_unnest / `之前,先介绍一下Hint。 Hint对于开发人员来说,可能不是很熟悉,但是对于DBA ...
分类:
数据库 时间:
2020-01-11 18:09:06
阅读次数:
164