5 南宫嘉俊

尚未进行身份认证

我要认证

学生

等级
TA的排名 1w+

HDU 1429 胜利大逃亡(续)

胜利大逃亡(续)Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9153    Accepted Submission(s): 3303Problem DescriptionIgnatius再次被魔王抓走了(

2017-08-06 17:29:44

Educational Codeforces Round 26总结

A. Text Volumetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a text of single-space separate

2017-08-04 02:23:52

方块消除游戏(完美世界2017秋招真题)

方块消除游戏(完美世界2017秋招真题) 题目描述 如下图,有10*10个不同颜色的方块,每个方块可能是红、绿、蓝、黄、紫5种颜色之一。当点击其中某一个方块时,如果它有相邻的同颜色方块,则将所有与此方块连续同颜色相邻的方块消除;剩下的方块中,如果下方有空位则向下移动,如果左侧整列都为空位则向左移动。 输入

2017-07-27 20:47:07

App运行时发生OOM的原因你知道几种?应该如何避免?

App运行时发生OOM的原因你知道几种?应该如何避免?1.资源对象用完没有关闭,造成内存泄漏。避免:对于资源性对象,在try catch finally中将资源对象放在finally中进行回收处理,可以有效避免OOM。资源性对象例如:       1-1:Cursor(使用Curosr.close())       1-2:  没有关闭InputStream/OutputStrea

2017-07-26 16:31:52

各种常见排序算法(复习)

1.插入排序import java.util.Scanner;/** * * 作者:张宇翔 * 创建日期:2017年7月19日 下午12:57:18 * 描述:插入排序 * 时间复杂度: * 平均情况:O(n^2) * 最坏情况:O(n^2) * 最好情况:O(n) * 空间复杂度:O(1) * 稳定性:稳定 * 复杂性:简单

2017-07-19 13:03:51

Educational Codeforces Round 25总结

A. Binary Protocoltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has just invented a new binary p

2017-07-17 09:15:28

Codeforces Round #421 (Div. 2)总结

A. Mister B and Book Readingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMister B once received a gift:

2017-06-28 09:09:37

Codeforces Round #420 (Div. 2)总结

A. Okabe and Future Gadget Laboratorytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOkabe needs to renova

2017-06-26 11:14:41

Educational Codeforces Round 23总结

A. Treasure Hunttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputCaptain Bill the Hummingbird and his crew r

2017-06-16 11:31:37

Educational Codeforces Round 22

A. The Contesttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPasha is participating in a contest on one w

2017-06-06 14:49:44

Codeforces Round #417 (Div. 2)总结

A. Sagheer and Crossroadstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSagheer is walking in the street w

2017-06-02 10:57:29

笔试编程经典(leetcode在线编程)

题目描述Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.代码:/** * Definition for b

2017-05-31 22:48:49

Educational Codeforces Round 21总结

A. Lucky Yeartime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputApart from having lots of holidays throughout

2017-05-23 22:34:32

面试题目汇总(JAVA算法/数据结构)

1.题目:输入一个正整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数字中最小的一个。例如输入数组{3,32,321},则打印出这三个数字能排成的最小数字为321323。代码:import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;import java.u

2017-05-18 14:06:01

Codeforces Round #411 (Div. 2)总结

A. Fake NPtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTavak and Seyyed are good friends. Seyyed is very

2017-05-05 09:34:07

Educational Codeforces Round 20总结

A. Maximal Binary Matrixtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given matrix with n rows an

2017-05-02 11:31:41

Tinkoff Challenge - Elimination Round总结

A. Oleg and sharestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOleg the bank client checks share prices

2017-04-25 16:17:04

Codeforces Round #368 (Div. 2) 总结

A. Brain's Photostime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSmall, but very brave, mouse Brain was no

2016-08-21 14:17:20

POJ 1950

DessertTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 5473 Accepted: 2048DescriptionFJ has a new rule about the cows lining up for dinner. Not only m

2016-07-02 08:26:22

51ND 1432 独木舟

提问31南宫嘉俊插入图片本地图片 引用图片(支持 JPG、GIF、PNG 格式,不要超过 2MB)确定关闭

2016-05-31 15:24:48

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!