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 listJan 7, 2023 16:21Hal FHal FScore: 4,868Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 7, 2023 16:214,84331,964,19915,497,00002,289,664
2Jan 7, 2023 16:214,84534,082,86914,471,0001,033,0002,289,664
3Jan 7, 2023 16:214,84939,025,93715,517,00002,289,664
4Jan 7, 2023 16:214,85534,928,02614,500,0001,035,0002,273,280
5Jan 7, 2023 16:214,85637,564,18515,538,00002,289,664
6Jan 7, 2023 16:214,85930,734,16514,514,0001,036,0002,289,664
7Jan 7, 2023 16:214,86831,777,22514,539,0001,038,0002,277,376
8Jan 7, 2023 16:214,87735,925,90414,565,0001,040,0002,289,664
9Jan 7, 2023 16:214,89237,960,43213,698,0001,956,0002,289,664
10Jan 7, 2023 16:215,05290,182,89816,166,33102,289,664
11Jan 7, 2023 16:215,07281,830,30516,230,94502,301,952
12Jan 7, 2023 16:215,08683,565,87716,276,64102,301,952