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 16:28Yuriy LyfenkoYuriy LyfenkoScore: 5,022Success
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 16:284,9961,740,665,24013,990,0001,998,0002,273,280
2Jun 3, 2021 16:285,0041,738,567,22315,012,0001,000,0002,281,472
3Jun 3, 2021 16:285,0051,744,657,97614,014,0002,002,0002,273,280
4Jun 3, 2021 16:285,0131,746,866,77815,038,0001,002,0002,273,280
5Jun 3, 2021 16:285,0151,736,411,11015,045,0001,003,0002,273,280
6Jun 3, 2021 16:285,0191,737,134,94514,054,0002,007,0002,281,472
7Jun 3, 2021 16:285,0221,738,748,86815,067,0001,004,0002,273,280
8Jun 3, 2021 16:285,0401,737,640,04615,120,0001,008,0002,404,352
9Jun 3, 2021 16:285,0411,739,935,29015,124,0001,008,0002,273,280
10Jun 3, 2021 16:285,1601,805,905,46016,512,38802,256,896
11Jun 3, 2021 16:285,1741,775,583,77116,555,25302,252,800
12Jun 3, 2021 16:285,1891,770,959,23016,606,07302,256,896