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 listFeb 24, 2023 21:32Andranik ChakiryanAndranik ChakiryanScore: 5,637Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 21:325,59538,656,46516,850,0001,053,0002,338,816
2Feb 24, 2023 21:325,59835,440,71016,920,000995,0002,338,816
3Feb 24, 2023 21:325,60143,494,30816,869,0001,054,0002,342,912
4Feb 24, 2023 21:325,60945,782,39014,957,0002,991,0002,351,104
5Feb 24, 2023 21:325,61345,174,78916,965,000997,0002,355,200
6Feb 24, 2023 21:325,62042,661,55616,984,000999,0002,342,912
7Feb 24, 2023 21:325,63787,549,32118,037,55402,187,264
8Feb 24, 2023 21:325,64043,132,19116,043,0002,005,0002,342,912
9Feb 24, 2023 21:325,65037,088,19415,068,0003,013,0002,351,104
10Feb 24, 2023 21:325,65349,602,13916,080,0002,010,0002,342,912
11Feb 24, 2023 21:325,74878,712,82318,392,59702,195,456
12Feb 24, 2023 21:325,80281,825,05818,566,48702,179,072