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 listJan 26, 2026 13:36Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2026 13:365,68841,279,10018,200,00002,383,872
2Jan 26, 2026 13:365,71837,691,97816,265,0002,033,0002,265,088
3Jan 26, 2026 13:365,72442,340,65318,318,00002,523,136