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 6, 2026 14:26Sergey SerebryakovSergey SerebryakovScore: 5,738Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2026 14:265,70650,027,45216,230,0002,028,0002,371,584
2Jan 6, 2026 14:265,73041,837,08917,318,0001,018,0002,478,080
3Jan 6, 2026 14:265,73150,287,94917,320,0001,018,0002,465,792
4Jan 6, 2026 14:265,73448,053,66117,331,0001,019,0002,371,584
5Jan 6, 2026 14:265,73844,522,18416,320,0002,040,0002,371,584
6Jan 6, 2026 14:265,73936,029,73416,326,0002,040,0002,375,680
7Jan 6, 2026 14:265,74343,106,49316,337,0002,042,0002,375,680
8Jan 6, 2026 14:265,75254,798,26114,315,0004,090,0002,342,912
9Jan 6, 2026 14:265,77553,228,66414,374,0004,107,0002,473,984