Problem Description
Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. This would be easy if all the ma...
分类:
其他好文 时间:
2015-02-21 15:31:20
阅读次数:
152
Given an array A1,A2...AN, you have to print the size of the largest contiguous subarray such that LCM of all integers in that subarray is equal to th...
分类:
其他好文 时间:
2015-02-21 00:15:01
阅读次数:
345
Magic Squares
IOI'96
Following the success of the magic cube, Mr. Rubik invented its planarversion, called magic squares. This is a sheet composed of 8 equal-sizedsquares:
1
2
3
4
8...
分类:
其他好文 时间:
2015-02-18 06:14:43
阅读次数:
418
Problem Description
Give you n ( n < 10000) necklaces ,the length of necklace will not large than 100,tell me
How many kinds of necklaces total have.(if two necklaces can equal by rotating ,we say th...
分类:
其他好文 时间:
2015-02-17 23:37:11
阅读次数:
143
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:
其他好文 时间:
2015-02-17 17:38:02
阅读次数:
111
SquaresTime Limit:3500MSMemory Limit:65536KTotal Submissions:16908Accepted:6425DescriptionA square is a 4-sided polygon whose sides have equal length ...
分类:
其他好文 时间:
2015-02-17 12:51:53
阅读次数:
191
最近在部署MySQL主从复制架构的时候,碰到了"Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs; these UUIDs must be different for replication to work." 这个错误提示。...
分类:
数据库 时间:
2015-02-16 21:00:41
阅读次数:
278
If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105 with ...
分类:
其他好文 时间:
2015-02-16 16:44:53
阅读次数:
128
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Same Tree
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and ...
分类:
其他好文 时间:
2015-02-16 14:19:42
阅读次数:
98
欢迎大家阅读参考,如有错误或疑问请留言纠正,谢谢
Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve th...
分类:
其他好文 时间:
2015-02-14 17:35:09
阅读次数:
195