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 18:52Hal FHal FScore: 4,841Success
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 18:524,80337,186,17813,320,0002,049,0002,273,280
2Jan 3, 2023 18:524,80635,818,54014,354,0001,025,0002,531,328
3Jan 3, 2023 18:524,80631,435,68715,379,00002,289,664
4Jan 3, 2023 18:524,81732,514,46214,387,0001,027,0002,289,664
5Jan 3, 2023 18:524,81937,829,94614,394,0001,028,0002,289,664
6Jan 3, 2023 18:524,82435,353,46914,409,0001,029,0002,289,664
7Jan 3, 2023 18:524,84141,651,65814,460,0001,032,0002,273,280
8Jan 3, 2023 18:524,84936,116,09414,484,0001,034,0002,273,280
9Jan 3, 2023 18:524,85832,567,94314,509,0001,036,0002,355,200
10Jan 3, 2023 18:525,01779,105,06616,053,53502,179,072
11Jan 3, 2023 18:525,03762,696,88916,118,83302,301,952
12Jan 3, 2023 18:525,08292,377,13016,263,63202,285,568