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 12, 2026 17:05Pavel SamyginPavel SamyginScore: 5,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 12, 2026 17:055,49442,866,19516,548,0001,034,0002,441,216
2Apr 12, 2026 17:055,49445,546,54916,548,0001,034,0002,535,424
3Apr 12, 2026 17:055,50239,469,67816,572,0001,035,0002,535,424
4Apr 12, 2026 17:055,50640,571,22916,582,0001,036,0002,535,424
5Apr 12, 2026 17:055,51035,982,37516,595,0001,037,0002,445,312
6Apr 12, 2026 17:055,51945,167,31516,623,0001,038,0002,453,504
7Apr 12, 2026 17:055,52738,788,18316,645,0001,040,0002,441,216
8Apr 12, 2026 17:055,58243,663,71915,879,0001,984,0002,527,232
9Apr 12, 2026 17:055,58549,749,60916,879,000992,0002,445,312