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 27, 2025 11:54Dmitry YudakovDmitry YudakovScore: 7,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 11:547,76849,536,72123,864,000994,0002,539,520
2Apr 27, 2025 11:547,77049,996,98522,874,0001,989,0002,547,712
3Apr 27, 2025 11:547,77250,965,03222,880,0001,989,0002,539,520
4Apr 27, 2025 11:547,77256,157,98623,875,000994,0002,494,464
5Apr 27, 2025 11:547,77748,714,43821,901,0002,986,0002,326,528
6Apr 27, 2025 11:547,78655,821,98622,922,0001,993,0002,539,520
7Apr 27, 2025 11:547,79051,189,80221,938,0002,991,0002,523,136
8Apr 27, 2025 11:547,80652,760,40022,980,0001,998,0002,547,712
9Apr 27, 2025 11:547,80655,179,01522,981,0001,998,0002,519,040