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 15:26Ilya AniskovetsIlya AniskovetsScore: 5,475Success
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 15:265,43346,596,70517,387,00002,527,232
2Nov 1, 2021 15:265,44038,711,24716,385,0001,024,0002,265,088
3Nov 1, 2021 15:265,44145,721,49916,387,0001,024,0002,392,064
4Nov 1, 2021 15:265,46334,677,88817,482,00002,265,088
5Nov 1, 2021 15:265,47433,786,90517,517,00002,265,088
6Nov 1, 2021 15:265,47438,775,03917,517,00002,392,064
7Nov 1, 2021 15:265,47543,633,54817,519,00002,265,088
8Nov 1, 2021 15:265,47938,495,36916,502,0001,031,0002,490,368
9Nov 1, 2021 15:265,52651,586,10117,684,00002,265,088
10Nov 1, 2021 15:265,64394,643,84918,056,43202,289,664
11Nov 1, 2021 15:265,65391,494,43018,088,01702,277,376
12Nov 1, 2021 15:265,65396,941,15318,090,95302,273,280