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 13, 2021 10:46Dmitry DolgopolovDmitry DolgopolovScore: 5,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:465,21439,615,36115,643,0001,042,0002,449,408
2Jun 13, 2021 10:465,27035,658,56314,881,0001,984,0002,445,312
3Jun 13, 2021 10:465,27341,874,49015,882,000992,0002,445,312
4Jun 13, 2021 10:465,27444,128,18114,892,0001,985,0002,269,184
5Jun 13, 2021 10:465,27441,846,10314,892,0001,985,0002,445,312
6Jun 13, 2021 10:465,27430,940,50714,892,0001,985,0002,531,328
7Jun 13, 2021 10:465,27538,598,24015,887,000992,0002,445,312
8Jun 13, 2021 10:465,27741,234,92815,892,000993,0002,269,184
9Jun 13, 2021 10:465,27742,344,32615,892,000993,0002,449,408
10Jun 13, 2021 10:465,44179,804,52317,412,56802,211,840
11Jun 13, 2021 10:465,45379,913,09817,449,26002,199,552
12Jun 13, 2021 10:465,49287,849,47617,573,64702,195,456