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 12:49Dmitry YudakovDmitry YudakovScore: 7,686Success
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 12:497,62354,294,33922,362,0002,032,0002,293,760
2Apr 27, 2025 12:497,64356,666,39819,362,0005,095,0002,519,040
3Apr 27, 2025 12:497,64753,123,11123,452,0001,019,0002,539,520
4Apr 27, 2025 12:497,66150,066,96118,387,0006,129,0002,293,760
5Apr 27, 2025 12:497,68650,242,54623,572,0001,024,0002,514,944
6Apr 27, 2025 12:497,69457,090,46222,570,0002,051,0002,289,664
7Apr 27, 2025 12:497,69650,289,10423,602,0001,026,0002,510,848
8Apr 27, 2025 12:497,70153,760,01024,642,00002,547,712
9Apr 27, 2025 12:497,71350,443,60623,655,0001,028,0002,293,760