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 listOct 5, 2026 12:48FrederickFrederickScore: 4,376Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 12:514,3576,023,020,23212,916,0001,028,0002,113,536
2Oct 5, 2026 12:514,3696,023,076,46712,952,0001,031,0002,113,536
3Oct 5, 2026 12:514,3706,023,027,39112,893,0001,091,0002,113,536
4Oct 5, 2026 12:514,3756,023,072,24012,935,0001,065,0002,113,536
5Oct 5, 2026 12:514,3766,023,152,30812,936,0001,069,0002,113,536
6Oct 5, 2026 12:514,3806,023,139,91113,004,0001,013,0002,113,536
7Oct 5, 2026 12:514,3896,023,023,73612,999,0001,047,0002,113,536
8Oct 5, 2026 12:514,4086,023,037,19312,993,0001,115,0002,113,536
9Oct 5, 2026 12:514,4136,023,146,45512,976,0001,147,0002,113,536