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:50Hal FHal FScore: 4,835Success
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:504,80838,883,38214,361,0001,025,0002,273,280
2Jan 3, 2023 20:504,80934,772,48214,364,0001,026,0002,269,184
3Jan 3, 2023 20:504,81441,785,71314,379,0001,027,0002,269,184
4Jan 3, 2023 20:504,81543,241,57515,408,00002,277,376
5Jan 3, 2023 20:504,82030,262,77614,396,0001,028,0002,265,088
6Jan 3, 2023 20:504,82633,740,63013,384,0002,059,0002,269,184
7Jan 3, 2023 20:504,83533,775,55115,472,00002,273,280
8Jan 3, 2023 20:504,83939,264,29015,486,00002,289,664
9Jan 3, 2023 20:504,85835,434,91414,509,0001,036,0002,289,664
10Jan 3, 2023 20:505,01694,719,57216,050,78702,297,856
11Jan 3, 2023 20:505,02881,127,12416,091,05802,252,800
12Jan 3, 2023 20:505,03899,946,21816,120,51402,301,952