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:41Mikhail DektyarevMikhail DektyarevScore: 4,659Success
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:414,64740,441,21912,887,0001,982,0002,392,064
2Jun 2, 2021 13:414,64832,498,16513,881,000991,0002,281,472
3Jun 2, 2021 13:414,64835,480,43812,890,0001,983,0002,404,352
4Jun 2, 2021 13:414,65033,857,20512,897,0001,984,0002,281,472
5Jun 2, 2021 13:414,65642,890,66613,906,000993,0002,396,160
6Jun 2, 2021 13:414,65837,002,87112,918,0001,987,0002,400,256
7Jun 2, 2021 13:414,65933,569,44713,915,000993,0002,281,472
8Jun 2, 2021 13:414,66035,289,19313,848,0001,065,0002,396,160
9Jun 2, 2021 13:414,67336,510,01613,957,000996,0002,277,376
10Jun 2, 2021 13:414,85976,074,52515,548,37202,285,568
11Jun 2, 2021 13:414,867105,311,13515,575,42502,293,760
12Jun 2, 2021 13:414,89185,035,54115,651,03902,297,856