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 28, 2025 06:56Sergey SamokhvalovSergey SamokhvalovScore: 5,971Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2025 06:575,94746,005,52717,028,0002,003,0002,265,088
2Oct 28, 2025 06:575,95741,652,86817,057,0002,006,0002,285,568
3Oct 28, 2025 06:565,96041,564,14517,065,0002,007,0002,285,568
4Oct 28, 2025 06:575,96335,968,55817,074,0002,008,0002,510,848
5Oct 28, 2025 06:575,96537,854,25417,078,0002,009,0002,285,568
6Oct 28, 2025 06:575,96542,045,05717,078,0002,009,0002,285,568
7Oct 28, 2025 06:565,97143,600,88117,095,0002,011,0002,285,568
8Oct 28, 2025 06:575,97244,957,90917,098,0002,011,0002,269,184
9Oct 28, 2025 06:575,99038,550,00917,150,0002,017,0002,265,088
10Oct 28, 2025 06:575,99147,426,39017,153,0002,018,0002,265,088
11Oct 28, 2025 06:576,00147,076,49217,182,0002,021,0002,367,488
12Oct 28, 2025 06:566,02541,950,68317,252,0002,029,0002,510,848