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 listAug 28, 2023 17:58Ilya AniskovetsIlya AniskovetsScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 28, 2023 17:585,27037,668,54415,873,000992,0002,265,088
2Aug 28, 2023 17:585,27250,963,24014,886,0001,984,0002,265,088
3Aug 28, 2023 17:585,27346,361,49514,890,0001,985,0002,265,088
4Aug 28, 2023 17:585,27442,822,24414,893,0001,985,0002,265,088
5Aug 28, 2023 17:585,27646,778,92416,882,00002,387,968
6Aug 28, 2023 17:585,28340,703,64814,918,0001,989,0002,383,872
7Aug 28, 2023 17:585,28842,161,34315,927,000995,0002,387,968
8Aug 28, 2023 17:585,31148,256,60814,997,0001,999,0002,265,088
9Aug 28, 2023 17:585,32037,970,40515,022,0002,003,0002,265,088
10Aug 28, 2023 17:585,50995,428,99517,628,79502,281,472
11Aug 28, 2023 17:585,51092,437,78917,633,38102,240,512
12Aug 28, 2023 17:585,532103,048,65317,701,01002,277,376