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 19:52Hal FHal FScore: 4,855Success
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 19:524,82238,545,15714,403,0001,028,0002,531,328
2Jan 3, 2023 19:524,82336,509,00414,405,0001,028,0002,269,184
3Jan 3, 2023 19:524,82436,786,39314,408,0001,029,0002,289,664
4Jan 3, 2023 19:524,82637,466,92814,414,0001,029,0002,289,664
5Jan 3, 2023 19:524,83532,962,71314,440,0001,031,0002,523,136
6Jan 3, 2023 19:524,83631,887,43713,412,0002,063,0002,277,376
7Jan 3, 2023 19:524,85535,882,82514,502,0001,035,0002,289,664
8Jan 3, 2023 19:524,87433,833,21314,557,0001,039,0002,289,664
9Jan 3, 2023 19:524,87644,865,82714,562,0001,040,0002,289,664
10Jan 3, 2023 19:525,03659,996,11916,116,47802,293,760
11Jan 3, 2023 19:525,06386,759,00616,202,09402,297,856
12Jan 3, 2023 19:525,06890,421,20316,218,06002,174,976