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 listApr 28, 2025 22:07lukostlukostScore: 4,449Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 22:064,43134,118,30312,154,0002,025,0002,539,520
2Apr 28, 2025 22:074,43528,399,82312,164,0002,027,0002,539,520
3Apr 28, 2025 22:074,43530,575,49912,165,0002,027,0002,539,520
4Apr 28, 2025 22:064,44530,086,47312,193,0002,032,0002,453,504
5Apr 28, 2025 22:074,44927,708,25312,203,0002,033,0002,445,312
6Apr 28, 2025 22:074,45636,652,57013,240,0001,018,0002,539,520
7Apr 28, 2025 22:064,45937,242,20513,250,0001,019,0002,539,520
8Apr 28, 2025 22:074,46336,159,87313,260,0001,020,0002,441,216
9Apr 28, 2025 22:074,46429,447,33513,265,0001,020,0002,449,408