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 listDec 25, 2021 00:13Alexander KimAlexander KimScore: 5,771Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 00:135,72444,005,76216,283,0002,035,0002,334,720
2Dec 25, 2021 00:135,75739,110,15116,376,0002,047,0002,297,856
3Dec 25, 2021 00:135,76444,388,53818,444,00002,301,952
4Dec 25, 2021 00:135,76538,768,82617,423,0001,024,0002,334,720
5Dec 25, 2021 00:135,76741,972,24217,429,0001,025,0002,334,720
6Dec 25, 2021 00:135,76842,358,27316,406,0002,050,0002,297,856
7Dec 25, 2021 00:135,77136,617,38517,441,0001,025,0002,334,720
8Dec 25, 2021 00:135,77440,514,98318,478,00002,293,760
9Dec 25, 2021 00:135,77586,856,01318,480,44002,269,184
10Dec 25, 2021 00:135,79866,128,33218,552,29802,277,376
11Dec 25, 2021 00:135,80182,730,46918,563,80802,277,376
12Dec 25, 2021 00:135,81242,165,85617,565,0001,033,0002,334,720