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 listJul 23, 2021 20:56Adam FolwarcznyAdam FolwarcznyScore: 5,534Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2021 20:565,50085,017,96917,599,20402,277,376
2Jul 23, 2021 20:565,51843,001,59616,620,0001,038,0002,265,088
3Jul 23, 2021 20:565,52383,093,57417,672,94802,273,280
4Jul 23, 2021 20:565,52337,215,91216,633,0001,039,0002,392,064
5Jul 23, 2021 20:565,52790,397,26517,685,55802,281,472
6Jul 23, 2021 20:565,53246,658,30316,662,0001,041,0002,383,872
7Jul 23, 2021 20:565,53444,294,29716,669,0001,041,0002,265,088
8Jul 23, 2021 20:565,54039,758,60217,729,00002,400,256
9Jul 23, 2021 20:565,54049,296,02316,687,0001,042,0002,265,088
10Jul 23, 2021 20:565,57542,971,04916,850,000991,0002,465,792
11Jul 23, 2021 20:565,58447,343,19716,876,000992,0002,396,160
12Jul 23, 2021 20:565,58537,545,48116,880,000992,0002,396,160