F.A.Qs Home ProblemSet Status Ranklist Contest LoginRegister
Notice:祝各位Oier新年快乐,Rp++!
大视野在线测评-欢迎您
[ New Thread ]
Problem 2806 >> hack了百度前两只神犇的代码
guozizheng @ 2017-02-10 09:48:05
[ Quote ] [ Edit ] [ Delete ] 1#
1 1
010
0011

(求打脸
guozizheng @ 2017-02-10 09:49:31
[ Quote ] [ Edit ] [ Delete ] 2#
答案应该是1
因为0和1都是串010的子串,所以大不了分裂成一个字符一个字符匹配。
大爷们judge的时候没有特判如果mid==0返回true。。
015373683436 @ 2018-01-11 15:51:24
[ Quote ] [ Edit ] [ Delete ] 3#
似乎不能直接特判的,否则会在
1 1
000
111
上WA掉。
顺便orz郭神。
[Top] [Previous Page] [Next Page]

HOME Back