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 17, 2021 23:39Yuriy LyfenkoYuriy LyfenkoScore: 5,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:395,4142,602,024,68914,439,0002,887,0002,260,992
2May 17, 2021 23:395,4201,083,210,38517,343,00002,523,136
3May 17, 2021 23:395,430391,760,83217,376,00002,392,064
4May 17, 2021 23:395,438163,083,04716,378,0001,023,0002,383,872
5May 17, 2021 23:395,455203,497,96116,488,000969,0002,265,088
6May 17, 2021 23:395,4602,167,210,30817,473,00002,260,992
7May 17, 2021 23:395,463525,401,22415,538,0001,942,0002,523,136
8May 17, 2021 23:395,4852,347,102,08015,602,0001,950,0002,523,136
9May 17, 2021 23:395,4941,206,394,48416,604,000976,0002,392,064
10May 17, 2021 23:396,061713,598,36719,395,61002,281,472
11May 17, 2021 23:396,0991,017,565,44819,517,46202,273,280
12May 17, 2021 23:396,0991,903,813,32619,517,90202,285,568