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:51Hal FHal FScore: 4,961Success
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:514,95435,711,81313,871,0001,981,0002,289,664
2Jan 3, 2023 20:514,95843,237,20413,881,0001,983,0002,277,376
3Jan 3, 2023 20:514,95844,075,04713,882,0001,983,0002,281,472
4Jan 3, 2023 20:514,95833,042,67515,866,00002,273,280
5Jan 3, 2023 20:514,95948,179,83913,887,0001,983,0002,289,664
6Jan 3, 2023 20:514,96032,708,21214,881,000992,0002,277,376
7Jan 3, 2023 20:514,96137,333,23213,890,0001,984,0002,289,664
8Jan 3, 2023 20:514,96333,379,05813,897,0001,985,0002,531,328
9Jan 3, 2023 20:514,96635,308,97115,891,00002,289,664
10Jan 3, 2023 20:515,151100,638,25416,483,39102,252,800
11Jan 3, 2023 20:515,15987,971,44816,509,32402,293,760
12Jan 3, 2023 20:515,21979,480,58216,700,58402,293,760