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 listJan 26, 2024 13:45AnSaAnSaScore: 5,244Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2024 13:455,20043,180,31916,640,00002,408,448
2Jan 26, 2024 13:455,20234,781,31616,645,00002,285,568
3Jan 26, 2024 13:455,20545,789,60315,615,0001,041,0002,285,568
4Jan 26, 2024 13:455,21041,485,10615,630,0001,042,0002,285,568
5Jan 26, 2024 13:455,21142,678,92115,632,0001,042,0002,285,568
6Jan 26, 2024 13:455,21143,625,77716,676,00002,404,352
7Jan 26, 2024 13:455,24440,382,14416,782,00002,404,352
8Jan 26, 2024 13:455,27236,927,73615,877,000992,0002,285,568
9Jan 26, 2024 13:455,27444,857,20115,884,000992,0002,404,352
10Jan 26, 2024 13:455,40563,124,40117,296,68402,183,168
11Jan 26, 2024 13:455,420107,331,14717,344,94102,256,896
12Jan 26, 2024 13:455,45058,458,75717,439,73102,301,952