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 listAug 28, 2023 10:41trinity-1686atrinity-1686aError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2023 10:3900000Error: expected "977299 ", got "977298 "
2Aug 28, 2023 10:3900000Error: expected "977625 ", got "977624 "
3Aug 28, 2023 10:4100000Error: expected "977986 ", got "977985 "
4Aug 28, 2023 10:4100000Error: expected "978961 ", got "978960 "
5Aug 28, 2023 10:4110,611104,464,32133,956,47502,232,320
6Aug 28, 2023 10:4110,62388,892,87233,994,58802,240,512
7Aug 28, 2023 10:4110,62593,995,87834,000,26902,228,224