ECNU 1000 A + B Problem 链接 https://acm.ecnu.edu.cn/problem/1000 题目 单点时限: 1.0 sec 内存限制: 256 MB 输入格式 Two integer a,b(<=10) . Process to end of file. 输出格 ...
分类:
其他好文 时间:
2021-01-19 11:49:06
阅读次数:
0
def select_sort_simple(li): li_new = [] for i in range(len(li)): min_val = min(li) li_new.append(min_val) li.remove(min_val) return li_new def select_ ...
分类:
编程语言 时间:
2021-01-19 11:43:46
阅读次数:
0
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 ...
分类:
其他好文 时间:
2021-01-16 12:09:45
阅读次数:
0
上周内容回顾 字符串的内置方法 strip split replase format upper lower # 如果想查看更多的字符串方法,可以再pycharm中通过字符类型后面加'.'的方式查看 str.自动调试可以调用的内置方法 列表的内置方法 append insert extend sor ...
分类:
其他好文 时间:
2021-01-14 10:56:42
阅读次数:
0
Merge Sorted Array (E) 题目 Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements in ...
分类:
其他好文 时间:
2021-01-13 11:10:22
阅读次数:
0
题目描述 Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that eac ...
分类:
其他好文 时间:
2021-01-13 11:07:09
阅读次数:
0
Word Ladder (H) 题目 Given two words beginWord and endWord, and a dictionary wordList, return the length of the shortest transformation sequence from be ...
分类:
其他好文 时间:
2021-01-12 10:54:49
阅读次数:
0
1、 #include <stdio.h> int main(void) { int a,b; puts("please input two integers."); printf("a = "), scanf("%d", &a); printf("b = "), scanf("%d", &b); ...
分类:
编程语言 时间:
2021-01-07 11:48:01
阅读次数:
0
175. 组合两个表 地址:https://leetcode-cn.com/problems/combine-two-tables/ //表1: Person // + + + //| 列名 | 类型 | //+ + + //| PersonId | int | //| FirstName | va ...
分类:
其他好文 时间:
2021-01-06 12:09:24
阅读次数:
0
Find a Corresponding Node of a Binary Tree in a Clone of That Tree (M) 题目 Given two binary trees original and cloned and given a reference to a node t ...
分类:
其他好文 时间:
2021-01-06 11:39:40
阅读次数:
0