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 20:36Yuriy LyfenkoYuriy LyfenkoScore: 5,025Success
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 20:364,996537,729,95613,988,0001,998,0002,281,472
2Jun 2, 2021 20:364,997536,251,09114,990,000999,0002,273,280
3Jun 2, 2021 20:364,998538,576,44813,993,0001,999,0002,281,472
4Jun 2, 2021 20:365,018544,931,03314,050,0002,007,0002,416,640
5Jun 2, 2021 20:365,020540,750,31415,061,0001,004,0002,273,280
6Jun 2, 2021 20:365,023538,429,78715,070,0001,004,0002,273,280
7Jun 2, 2021 20:365,025545,584,73116,080,00002,273,280
8Jun 2, 2021 20:365,026544,846,34115,078,0001,005,0002,273,280
9Jun 2, 2021 20:365,060544,392,33814,168,0002,024,0002,273,280
10Jun 2, 2021 20:365,143576,609,12516,458,11302,285,568
11Jun 2, 2021 20:365,179574,786,82916,574,30402,297,856
12Jun 2, 2021 20:365,194577,110,22516,621,75702,289,664