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 listMay 25, 2021 22:39Mikhail DektyarevMikhail DektyarevScore: 4,961Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:394,90945,454,46515,709,00002,523,136
2May 25, 2021 22:394,91143,003,31814,667,0001,047,0002,281,472
3May 25, 2021 22:394,94733,847,56913,852,0001,978,0002,281,472
4May 25, 2021 22:394,95442,836,57914,864,000990,0002,281,472
5May 25, 2021 22:394,95842,263,05615,866,00002,281,472
6May 25, 2021 22:394,95939,694,52413,885,0001,983,0002,404,352
7May 25, 2021 22:394,96143,158,84114,884,000992,0002,400,256
8May 25, 2021 22:394,96649,812,77114,897,000993,0002,281,472
9May 25, 2021 22:395,00436,411,83115,014,0001,000,0002,404,352
10May 25, 2021 22:395,11879,437,71616,378,86102,289,664
11May 25, 2021 22:395,13352,292,82816,424,89602,285,568
12May 25, 2021 22:395,14270,549,55416,452,88602,289,664