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 16:53Ilya AniskovetsIlya AniskovetsScore: 5,960Success
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 16:535,65381,896,99018,090,44902,277,376
2Nov 1, 2021 16:535,69972,194,34318,235,69002,240,512
3Nov 1, 2021 16:535,71076,495,10618,271,72902,289,664
4Nov 1, 2021 16:535,89744,924,13215,892,0002,979,000167,936
5Nov 1, 2021 16:535,90245,550,94115,904,0002,982,000430,080
6Nov 1, 2021 16:535,92249,196,84915,957,0002,992,000167,936
7Nov 1, 2021 16:535,96044,048,42116,062,0003,011,000249,856
8Nov 1, 2021 16:535,98246,064,33216,119,0003,022,000430,080
9Nov 1, 2021 16:535,99546,615,72017,164,0002,019,000167,936
10Nov 1, 2021 16:536,03148,644,45816,252,0003,047,000258,048
11Nov 1, 2021 16:536,03444,223,13817,276,0002,032,0002,265,088
12Nov 1, 2021 16:536,07536,172,51316,372,0003,069,000245,760