阅读背景:

[ACM_模拟] ZOJ 3713 [In 7-bit 特殊输出规则 7bits 16进制]

来源:互联网 

 

 

Very often, especially in programming contests, we treat a sequence of non-whitespace characters as a string. But sometimes, a string may contain whitespace characters or even be empty. We can have such strings quoted and escaped to handle these cases. However, a different approach is putting the length of the string before it. As most strings are short in practice, it would be a waste of space to encode the length as a 64-bit unsigned integer or add a extra separator between the length and the string. That's why a 7-bit encoded integer is introduced here.Very often, especially in programming c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: