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 listNov 1, 2021 13:58Ilya AniskovetsIlya AniskovetsScore: 5,297Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 13:585,27341,456,82115,880,000992,0002,265,088
2Nov 1, 2021 13:585,27541,268,46315,887,000992,0002,265,088
3Nov 1, 2021 13:585,28342,848,83015,910,000994,0002,523,136
4Nov 1, 2021 13:585,28438,518,77214,921,0001,989,0002,265,088
5Nov 1, 2021 13:585,29137,202,16414,939,0001,991,0002,383,872
6Nov 1, 2021 13:585,29533,118,68515,949,000996,0002,506,752
7Nov 1, 2021 13:585,29747,367,35514,957,0001,994,0002,387,968
8Nov 1, 2021 13:585,29938,931,68815,959,000997,0002,392,064
9Nov 1, 2021 13:585,33645,768,63016,071,0001,004,0002,265,088
10Nov 1, 2021 13:585,49285,022,22617,573,83502,281,472
11Nov 1, 2021 13:585,49584,376,38317,584,75802,289,664
12Nov 1, 2021 13:585,49685,878,35017,587,53402,277,376