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 listMay 14, 2021 20:33alex3dalex3dScore: 4,808Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 20:334,79238,936,61015,334,00002,392,064
2May 14, 2021 20:334,79239,253,19413,291,0002,044,0002,265,088
3May 14, 2021 20:334,79331,293,16013,294,0002,045,0002,523,136
4May 14, 2021 20:334,80032,494,20815,360,00002,383,872
5May 14, 2021 20:334,80532,321,56014,352,0001,025,0002,392,064
6May 14, 2021 20:334,80643,044,57213,329,0002,050,0002,396,160
7May 14, 2021 20:334,80832,351,01014,360,0001,025,0002,265,088
8May 14, 2021 20:334,82933,125,88614,424,0001,030,0002,523,136
9May 14, 2021 20:334,83428,950,01214,439,0001,031,0002,523,136
10May 14, 2021 20:335,07995,667,96616,251,47802,273,280
11May 14, 2021 20:335,08263,612,13116,262,58902,281,472
12May 14, 2021 20:335,09852,239,68216,312,94302,281,472