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 16, 2021 13:07Yuriy LyfenkoYuriy LyfenkoScore: 5,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:075,432135,542,90316,417,000965,0002,265,088
2May 16, 2021 13:075,434132,418,07216,422,000966,0002,387,968
3May 16, 2021 13:075,436135,636,06615,462,0001,932,0002,265,088
4May 16, 2021 13:075,438134,156,62516,434,000966,0002,265,088
5May 16, 2021 13:075,443136,044,90115,482,0001,935,0002,506,752
6May 16, 2021 13:075,446136,401,27415,490,0001,936,0002,527,232
7May 16, 2021 13:075,450136,537,16815,503,0001,937,0002,523,136
8May 16, 2021 13:075,464142,288,39416,513,000971,0002,523,136
9May 16, 2021 13:075,564137,695,34515,826,0001,978,0002,265,088
10May 16, 2021 13:075,652172,832,72618,087,20602,281,472
11May 16, 2021 13:075,653158,953,16518,088,78202,281,472
12May 16, 2021 13:075,674166,092,97018,158,01402,289,664