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 3, 2024 03:09jeffplaisancejeffplaisanceScore: 4,486Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 03:094,44042,686,51613,193,0001,014,0002,281,472
2Aug 3, 2024 03:094,45235,336,02012,210,0002,035,0002,408,448
3Aug 3, 2024 03:094,46529,713,74712,247,0002,041,0002,396,160
4Aug 3, 2024 03:094,46632,107,02413,271,0001,020,0002,281,472
5Aug 3, 2024 03:094,47836,677,66513,307,0001,023,0002,404,352
6Aug 3, 2024 03:094,48039,108,71714,335,00002,404,352
7Aug 3, 2024 03:094,48630,275,68214,356,00002,404,352
8Aug 3, 2024 03:094,49340,814,35214,377,00002,281,472
9Aug 3, 2024 03:094,51037,642,11613,402,0001,030,0002,412,544
10Aug 3, 2024 03:094,73761,013,81615,157,44102,285,568
11Aug 3, 2024 03:094,74178,150,71715,170,90102,297,856
12Aug 3, 2024 03:094,762107,774,46615,237,10802,285,568