今際の国の呵呵君
Sunday, May 13, 2018
[LeetCode]UTF-8 Validation
关于UTF-8的介绍请参考这篇
文章
,只要按照UTF-8的格式check即可。注意虽然UTF-8目前的最大值为0x10FF,这一题不需要check,check的话过不了test case。代码如下:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment