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, 2024 15:06vahookvahookScore: 4,643Success
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, 2024 15:064,58332,976,64913,619,0001,047,0002,396,160
2Aug 15, 2024 15:064,59443,916,67013,652,0001,050,0002,396,160
3Aug 15, 2024 15:064,59540,350,50513,655,0001,050,0002,404,352
4Aug 15, 2024 15:064,59534,251,43914,705,00002,396,160
5Aug 15, 2024 15:064,59833,574,71413,663,0001,051,0002,404,352
6Aug 15, 2024 15:064,63741,396,86913,848,000989,0002,396,160
7Aug 15, 2024 15:064,64342,371,93412,876,0001,980,0002,281,472
8Aug 15, 2024 15:064,64541,929,42512,883,0001,982,0002,281,472
9Aug 15, 2024 15:064,65034,576,68113,889,000992,0002,396,160
10Aug 15, 2024 15:064,85793,950,98515,542,50702,297,856
11Aug 15, 2024 15:064,86785,886,54615,573,63002,174,976
12Aug 15, 2024 15:064,88677,681,06115,633,88402,174,976