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 20, 2022 13:46Eugene ZhydzetskiEugene ZhydzetskiScore: 5,847Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 13:465,80040,063,22618,559,00002,404,352
2Aug 20, 2022 13:465,81546,068,00116,541,0002,067,0002,531,328
3Aug 20, 2022 13:465,83747,214,19517,641,0001,037,0002,535,424
4Aug 20, 2022 13:465,84136,326,61417,652,0001,038,0002,334,720
5Aug 20, 2022 13:465,84235,708,60818,693,00002,334,720
6Aug 20, 2022 13:465,84444,162,67317,663,0001,039,0002,535,424
7Aug 20, 2022 13:465,84748,304,70717,670,0001,039,0002,535,424
8Aug 20, 2022 13:465,863102,335,11818,761,74902,240,512
9Aug 20, 2022 13:465,90148,091,54117,890,000993,0002,334,720
10Aug 20, 2022 13:465,90279,994,67518,886,03702,232,320
11Aug 20, 2022 13:465,90848,113,90215,920,0002,985,0002,334,720
12Aug 20, 2022 13:465,94691,099,97719,027,01602,228,224