Given N integers, you are supposed to find the smallest positive integer that is NOT in the given list. Input Specification: Each input file contains ...
分类:
其他好文 时间:
2020-01-27 17:28:02
阅读次数:
71
Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For example, after cutting Z = 1673 ...
分类:
其他好文 时间:
2020-01-27 17:11:56
阅读次数:
80
咳咳,这个是为了赶量 需要注意的就是输入方式,别的也没什么难点 Problem Description Ignatius likes to write words in reverse way. Given a single line of text which is written by Igna ...
分类:
其他好文 时间:
2020-01-27 15:40:56
阅读次数:
55
1005 Spell It Right (20分) 题目: 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 ...
分类:
其他好文 时间:
2020-01-26 23:49:39
阅读次数:
85
F. Three Paths on a Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a ...
分类:
其他好文 时间:
2020-01-26 22:34:35
阅读次数:
79
1105 Spiral Matrix (25分) This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix ...
分类:
其他好文 时间:
2020-01-26 20:50:27
阅读次数:
84
1104 Sum of Number Segments (20分) Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the s ...
分类:
其他好文 时间:
2020-01-26 19:20:05
阅读次数:
96
Problem Statement Reverse bits of a given 32 bits unsigned integer. Example 1: Input: 00000010100101000001111010011100 Output: 00111001011110000010100 ...
分类:
其他好文 时间:
2020-01-26 10:30:28
阅读次数:
94
Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appear twi ...
分类:
其他好文 时间:
2020-01-24 12:08:31
阅读次数:
78
原题链接在这里:https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list/ 题目: Given a node from a Circular Linked List which is sorted in ascen ...
分类:
其他好文 时间:
2020-01-24 12:07:34
阅读次数:
87