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:52Hal FHal FScore: 4,752Success
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 21:154,72331,673,18513,099,0002,015,0002,392,064
2Jan 3, 2023 21:154,72637,407,84113,107,0002,016,0002,289,664
3Jan 3, 2023 20:524,73334,141,33914,138,0001,009,0002,273,280
4Jan 3, 2023 21:154,73332,433,49413,127,0002,019,0002,289,664
5Jan 3, 2023 20:524,73534,755,29614,142,0001,010,0002,285,568
6Jan 3, 2023 21:154,73734,686,09213,138,0002,021,0002,289,664
7Jan 3, 2023 21:154,73930,378,41613,144,0002,022,0002,289,664
8Jan 3, 2023 21:154,74331,456,17113,155,0002,023,0002,269,184
9Jan 3, 2023 20:524,74539,907,54113,159,0002,024,0002,269,184
10Jan 3, 2023 20:524,74730,858,01913,164,0002,025,0002,289,664
11Jan 3, 2023 21:154,74734,813,34714,179,0001,012,0002,289,664
12Jan 3, 2023 20:524,74843,082,49313,168,0002,025,0002,285,568
13Jan 3, 2023 21:154,75236,459,51613,179,0002,027,0002,289,664
14Jan 3, 2023 20:524,75335,709,70414,196,0001,014,0002,273,280
15Jan 3, 2023 20:524,75540,943,40313,188,0002,028,0002,289,664
16Jan 3, 2023 20:524,76532,556,59313,215,0002,033,0002,265,088
17Jan 3, 2023 20:524,76632,802,24613,217,0002,033,0002,289,664
18Jan 3, 2023 21:154,81734,538,30713,487,0001,926,0002,277,376
19Jan 3, 2023 21:154,97278,345,17915,909,67402,174,976
20Jan 3, 2023 21:154,98468,450,32815,948,65302,297,856
21Jan 3, 2023 20:524,98481,985,01915,950,14102,293,760
22Jan 3, 2023 20:524,99565,865,66715,983,61802,289,664
23Jan 3, 2023 21:155,00064,172,85316,000,41702,289,664
24Jan 3, 2023 20:525,01878,419,02616,056,34302,289,664