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 11:59Dmitry DolgopolovDmitry DolgopolovScore: 4,983Success
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 11:594,96043,875,09213,889,0001,984,0002,273,280
2Jun 2, 2021 11:594,96230,797,17613,894,0001,984,0002,273,280
3Jun 2, 2021 11:594,96341,392,98413,896,0001,985,0002,437,120
4Jun 2, 2021 11:594,96434,701,06313,900,0001,985,0002,441,216
5Jun 2, 2021 11:594,96543,707,41713,903,0001,986,0002,445,312
6Jun 2, 2021 11:594,96529,954,05313,903,0001,986,0002,449,408
7Jun 2, 2021 11:594,98332,090,52413,951,0001,993,0002,441,216
8Jun 2, 2021 11:594,98437,631,28513,956,0001,993,0002,441,216
9Jun 2, 2021 11:594,98837,157,82713,967,0001,995,0002,535,424
10Jun 2, 2021 11:595,17391,090,31716,553,66502,252,800
11Jun 2, 2021 11:595,20378,934,58816,650,08202,199,552
12Jun 2, 2021 11:595,23299,938,81916,742,28902,199,552