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 21, 2024 13:52Franek KortaFranek KortaScore: 4,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 13:524,57444,595,14214,637,00002,445,312
2Jan 21, 2024 13:524,57929,819,22214,652,00002,441,216
3Jan 21, 2024 13:524,58327,934,85213,617,0001,047,0002,449,408
4Jan 21, 2024 13:524,58730,645,66513,629,0001,048,0002,445,312
5Jan 21, 2024 13:524,59336,602,63914,697,00002,269,184
6Jan 21, 2024 13:524,59837,816,79114,712,00002,449,408
7Jan 21, 2024 13:524,59937,881,82714,717,00002,449,408
8Jan 21, 2024 13:524,60142,194,43514,724,00002,531,328
9Jan 21, 2024 13:524,65240,933,47614,886,00002,269,184
10Jan 21, 2024 13:524,85078,847,48115,520,06502,199,552
11Jan 21, 2024 13:524,86176,853,77215,555,34802,199,552
12Jan 21, 2024 13:524,86758,720,65315,573,86202,195,456