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 13, 2024 00:43vahookvahookScore: 4,491Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 00:434,46335,263,72612,241,0002,040,0002,281,472
2Aug 13, 2024 00:434,47430,397,65814,316,00002,396,160
3Aug 13, 2024 00:434,47530,999,77114,319,00002,510,848
4Aug 13, 2024 00:434,47930,508,98413,309,0001,023,0002,281,472
5Aug 13, 2024 00:434,47937,004,34613,310,0001,023,0002,273,280
6Aug 13, 2024 00:434,48732,645,24813,332,0001,025,0002,404,352
7Aug 13, 2024 00:434,49129,278,76414,371,00002,281,472
8Aug 13, 2024 00:434,49239,213,80013,348,0001,026,0002,281,472
9Aug 13, 2024 00:434,49735,631,35313,362,0001,027,0002,404,352
10Aug 13, 2024 00:434,71386,270,58915,082,36902,260,992
11Aug 13, 2024 00:434,71691,070,91315,091,98602,297,856
12Aug 13, 2024 00:434,743105,242,93115,177,19502,293,760