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 3, 2023 20:58Hal FHal FScore: 4,691Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:584,66538,955,22612,939,0001,990,0002,273,280
2Jan 3, 2023 20:584,67236,758,99612,956,0001,993,0002,289,664
3Jan 3, 2023 20:584,67231,785,08012,957,0001,993,0002,277,376
4Jan 3, 2023 20:584,67339,159,84512,960,0001,993,0002,269,184
5Jan 3, 2023 20:584,67436,843,01612,963,0001,994,0002,289,664
6Jan 3, 2023 20:584,67533,679,68712,966,0001,994,0002,289,664
7Jan 3, 2023 20:584,69135,373,18213,010,0002,001,0002,265,088
8Jan 3, 2023 20:584,69339,819,34414,017,0001,001,0002,277,376
9Jan 3, 2023 20:584,71435,356,99614,080,0001,005,0002,289,664
10Jan 3, 2023 20:584,901107,096,28115,684,32802,297,856
11Jan 3, 2023 20:584,93683,872,42615,794,74902,297,856
12Jan 3, 2023 20:584,93976,061,07915,803,99702,297,856