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 listMar 16, 2023 01:07Alexander MonakovAlexander MonakovScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 01:075,20946,153,11815,627,0001,041,0002,449,408
2Mar 16, 2023 01:075,21140,768,47015,634,0001,042,0002,281,472
3Mar 16, 2023 01:075,21345,933,64115,641,0001,042,0002,453,504
4Mar 16, 2023 01:075,21744,544,55115,652,0001,043,0002,453,504
5Mar 16, 2023 01:075,22332,512,49115,668,0001,044,0002,449,408
6Mar 16, 2023 01:075,27342,759,81614,887,0001,985,0002,453,504
7Mar 16, 2023 01:075,27340,299,02514,889,0001,985,0002,453,504
8Mar 16, 2023 01:075,27427,724,57814,893,0001,985,0002,453,504
9Mar 16, 2023 01:075,27547,166,51314,895,0001,986,0002,281,472
10Mar 16, 2023 01:075,39672,992,70817,268,76402,199,552
11Mar 16, 2023 01:075,40488,729,20817,292,71502,211,840
12Mar 16, 2023 01:075,45669,033,17617,458,54802,191,360