Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listFeb 22, 2024 12:28Huy Duc LeHuy Duc LeScore: 5,496Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:285,46840,055,92516,467,0001,029,0002,293,760
2Feb 22, 2024 12:285,47637,367,03516,494,0001,030,0002,273,280
3Feb 22, 2024 12:285,47943,535,56217,533,00002,293,760
4Feb 22, 2024 12:285,48139,634,87216,509,0001,031,0002,379,776
5Feb 22, 2024 12:285,48737,973,89716,527,0001,032,0002,523,136
6Feb 22, 2024 12:285,49539,870,16316,549,0001,034,0002,293,760
7Feb 22, 2024 12:285,49644,445,75217,588,00002,293,760
8Feb 22, 2024 12:285,53444,079,37017,710,00002,293,760
9Feb 22, 2024 12:285,58042,326,24715,872,0001,984,0002,293,760
10Feb 22, 2024 12:285,70296,627,97818,245,12402,297,856
11Feb 22, 2024 12:285,70690,731,20118,259,89502,297,856
12Feb 22, 2024 12:285,74491,375,65418,382,10102,297,856