2558: 游起来吧!超妹!Time Limit:1 SecMemory Limit:128
MBSubmit:7Solved:3[Submit][Status][Web
Board]Description夏天到了,无聊的超妹跑到了落雪湖里抓鱼吃。结果,游到湖的正中 央时被湖边保安看到了,保安要抓住...
分类:
其他好文 时间:
2014-06-07 05:12:02
阅读次数:
249
lwIP作为RTOS准标配的TCP/IP,在我们编写网络模块时,经常用到。
本移植笔记使用lwIP的版本为V1.4.1。
MDK: V4.0+
RTOS: μC/OS-II V2.91
Eval-Board: LPC1752
Ethernet: ENC28J60
移植lwIP到OS其实就是实现sys.h的过程。...
分类:
其他好文 时间:
2014-06-04 21:52:32
阅读次数:
635
Given a 2D board and a word, find if the word
exists in the grid.The word can be constructed from letters of sequentially
adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-06-04 20:56:34
阅读次数:
343
Determine if a Sudoku is valid, according
to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where
empty cells are filled with ...
分类:
其他好文 时间:
2014-06-04 20:21:51
阅读次数:
246
【题目】
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:
其他好文 时间:
2014-06-03 01:07:58
阅读次数:
329
C语言实验——一元二次方程Ⅱ
Time Limit: 1 Sec Memory Limit: 64 MB
Submit: 169 Solved: 131
[Submit][Status][Web
Board]
Description
求一元二次方程ax2+bx+c=0的解。a,b,c为任意实数。
Input
输入数据有一行,包括a b c的值。
Outp...
分类:
编程语言 时间:
2014-05-31 22:30:00
阅读次数:
685
1115: 最短的名字
Time Limit: 5 Sec Memory Limit:
64 MB
Submit: 141 Solved: 56
[Submit][Status][Web
Board]
Description
在一个奇怪的村子中,很多人的名字都很长,比如aaaaa, bbb and abababab。
名字这么长,叫全名显然起来很...
分类:
其他好文 时间:
2014-05-26 05:57:48
阅读次数:
220
[Submit][Status][Web
Board]
Description
定义一个Teacher(教师)类(教师号,姓名,性别,薪金)和一个Student(学生)类(学号,姓名,性别,成绩),二者有一部分数据成员是相同的,num(号码),name(姓名),sex(性别)。编写程序,将一个Student对象(学生)转换为Teacher(教师)类,只将以上3个相同的数据成...
分类:
编程语言 时间:
2014-05-24 23:28:26
阅读次数:
388
[Submit][Status][Web
Board]
Description
Student类含有私有数据成员:num,name,sex,公有成员函数: 输入函数get_value()和输出函数display()。采用公用继承方式实现类Student1,增加数据成员:age,addr,成员函数:get_value_1()和display_1()。在程序运行时输入num,n...
分类:
其他好文 时间:
2014-05-24 22:12:09
阅读次数:
309
【题目】
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given an integer n, return all distinct solutions to the n-queens puzzle.
Each solution contains a distinct board configuratio...
分类:
其他好文 时间:
2014-05-24 17:12:32
阅读次数:
237