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 19, 2022 18:56Eugene ZhydzetskiEugene ZhydzetskiScore: 5,925Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 18:565,70484,645,46718,251,77502,240,512
2Aug 19, 2022 18:565,85245,343,79318,726,00002,531,328
3Aug 19, 2022 18:565,89745,308,30717,876,000993,0002,527,232
4Aug 19, 2022 18:565,90346,094,84416,903,0001,988,0002,543,616
5Aug 19, 2022 18:565,91147,277,44317,866,0001,050,0002,334,720
6Aug 19, 2022 18:565,92148,342,21017,949,000997,0002,334,720
7Aug 19, 2022 18:565,92544,566,16716,964,0001,995,0002,535,424
8Aug 19, 2022 18:565,93743,813,85117,998,000999,0002,535,424
9Aug 19, 2022 18:565,94549,726,65117,022,0002,002,0002,334,720
10Aug 19, 2022 18:565,95090,948,52819,039,92702,244,608
11Aug 19, 2022 18:565,95146,503,94417,040,0002,004,0002,531,328
12Aug 19, 2022 18:566,00389,195,09519,208,05702,236,416