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 listAug 15, 2025 01:56Leon ZhaoLeon ZhaoScore: 5,177Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2025 01:565,14638,999,10215,438,0001,029,0002,510,848
2Aug 15, 2025 01:565,15039,668,28715,451,0001,030,0002,256,896
3Aug 15, 2025 01:565,15438,956,06115,463,0001,030,0002,387,968
4Aug 15, 2025 02:305,16038,065,50215,481,0001,032,0002,506,752
5Aug 15, 2025 02:305,16439,703,35315,494,0001,032,0002,387,968
6Aug 15, 2025 02:305,16633,167,63316,532,00002,260,992
7Aug 15, 2025 02:305,17237,770,22415,516,0001,034,0002,383,872
8Aug 15, 2025 01:565,17534,740,80616,560,00002,383,872
9Aug 15, 2025 02:305,17633,050,93415,529,0001,035,0002,523,136
10Aug 15, 2025 01:565,17738,093,11815,532,0001,035,0002,519,040
11Aug 15, 2025 01:565,17835,347,17615,533,0001,035,0002,519,040
12Aug 15, 2025 02:305,18040,177,48215,541,0001,036,0002,519,040
13Aug 15, 2025 02:305,18141,803,19915,542,0001,036,0002,387,968
14Aug 15, 2025 01:565,18735,960,40815,562,0001,037,0002,519,040
15Aug 15, 2025 01:565,18848,290,97715,564,0001,037,0002,375,680
16Aug 15, 2025 02:305,18941,090,44914,652,0001,953,0002,506,752
17Aug 15, 2025 02:305,19034,435,10115,571,0001,038,0002,519,040
18Aug 15, 2025 01:565,19646,166,98115,588,0001,039,0002,375,680