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 2, 2021 13:43Mikhail DektyarevMikhail DektyarevScore: 4,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 13:434,64141,342,68513,862,000990,0002,396,160
2Jun 2, 2021 13:434,64631,070,17413,876,000991,0002,404,352
3Jun 2, 2021 13:434,64836,407,43912,890,0001,983,0002,281,472
4Jun 2, 2021 13:434,65036,239,58812,896,0001,984,0002,400,256
5Jun 2, 2021 13:434,65137,424,24412,900,0001,984,0002,281,472
6Jun 2, 2021 13:434,65336,522,96012,904,0001,985,0002,400,256
7Jun 2, 2021 13:434,65636,171,82412,913,0001,986,0002,281,472
8Jun 2, 2021 13:434,66231,419,17112,930,0001,989,0002,396,160
9Jun 2, 2021 13:434,67035,009,57213,948,000996,0002,281,472
10Jun 2, 2021 13:434,84581,299,77915,502,67802,285,568
11Jun 2, 2021 13:434,87677,867,72315,603,05002,289,664
12Jun 2, 2021 13:434,90382,363,56715,688,90702,289,664