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 3, 2021 04:58Yuriy LyfenkoYuriy LyfenkoScore: 5,088Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 04:585,039540,966,72414,111,0002,015,0002,281,472
2Jun 3, 2021 04:585,044542,273,78115,132,0001,008,0002,273,280
3Jun 3, 2021 04:585,058541,414,02614,161,0002,023,0002,416,640
4Jun 3, 2021 04:585,058540,613,30315,175,0001,011,0002,273,280
5Jun 3, 2021 04:585,058540,570,56716,187,00002,273,280
6Jun 3, 2021 04:585,083538,167,17216,265,00002,273,280
7Jun 3, 2021 04:585,088545,283,92416,283,00002,281,472
8Jun 3, 2021 04:585,104542,124,24916,334,00002,281,472
9Jun 3, 2021 04:585,108541,555,89416,346,00002,273,280
10Jun 3, 2021 04:585,178593,316,88816,568,59902,289,664
11Jun 3, 2021 04:585,202580,344,23616,647,19102,297,856
12Jun 3, 2021 04:585,230580,762,71516,736,08402,289,664