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 13, 2026 17:03Oleg SkinderevOleg SkinderevScore: 5,167Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 17:035,14042,410,57016,448,00002,400,256
2Apr 13, 2026 17:035,14834,556,69415,443,0001,029,0002,392,064
3Apr 13, 2026 17:035,15232,187,54915,456,0001,030,0002,269,184
4Apr 13, 2026 17:035,15444,832,92916,494,00002,273,280
5Apr 13, 2026 17:035,16737,833,68415,500,0001,033,0002,269,184
6Apr 13, 2026 17:035,17042,422,66314,476,0002,068,0002,404,352
7Apr 13, 2026 17:035,18446,595,20415,554,0001,036,0002,281,472
8Apr 13, 2026 17:035,19343,503,52415,579,0001,038,0002,269,184
9Apr 13, 2026 17:035,20332,835,53615,608,0001,040,0002,396,160