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 listJun 12, 2024 03:22Yuriy LyfenkoYuriy LyfenkoScore: 4,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:224,441639,653,29814,210,00002,265,088
2Jun 12, 2024 03:224,446635,956,42914,227,00002,265,088
3Jun 12, 2024 03:224,453641,405,25513,231,0001,017,0002,260,992
4Jun 12, 2024 03:224,458636,608,78012,227,0002,037,0002,523,136
5Jun 12, 2024 03:224,459641,203,13912,232,0002,038,0002,260,992
6Jun 12, 2024 03:224,463637,695,92013,262,0001,020,0002,400,256
7Jun 12, 2024 03:224,466642,109,69812,251,0002,041,0002,523,136
8Jun 12, 2024 03:224,470639,649,55714,303,00002,265,088
9Jun 12, 2024 03:224,471638,961,74313,286,0001,022,0002,260,992
10Jun 12, 2024 03:224,619677,055,51914,781,39002,240,512
11Jun 12, 2024 03:224,631673,238,67214,820,01202,285,568
12Jun 12, 2024 03:224,632672,725,62014,822,72802,273,280