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 19:15Yuriy LyfenkoYuriy LyfenkoScore: 5,029Success
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 19:154,989539,048,73513,970,0001,995,0002,281,472
2Jun 2, 2021 19:154,992541,384,38113,977,0001,996,0002,273,280
3Jun 2, 2021 19:154,993545,681,57513,979,0001,997,0002,400,256
4Jun 2, 2021 19:154,996545,899,07714,987,000999,0002,273,280
5Jun 2, 2021 19:155,009539,116,52114,025,0002,003,0002,273,280
6Jun 2, 2021 19:155,026540,914,01914,074,0002,010,0002,273,280
7Jun 2, 2021 19:155,029547,160,18814,081,0002,011,0002,273,280
8Jun 2, 2021 19:155,032537,662,88514,090,0002,012,0002,404,352
9Jun 2, 2021 19:155,052542,761,80315,156,0001,010,0002,273,280
10Jun 2, 2021 19:155,127573,212,19316,406,87202,252,800
11Jun 2, 2021 19:155,158585,510,06816,505,07302,281,472
12Jun 2, 2021 19:155,172592,610,12916,549,86702,256,896