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 29, 2022 07:39apuxbtapuxbtScore: 5,405Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2022 07:395,36533,845,72515,149,0002,019,0002,396,160
2Nov 29, 2022 07:395,38033,712,60215,190,0002,025,0002,265,088
3Nov 29, 2022 07:395,38442,746,56816,217,0001,013,0002,506,752
4Nov 29, 2022 07:395,38542,873,32115,205,0002,027,0002,265,088
5Nov 29, 2022 07:395,39443,122,71715,232,0002,030,0002,265,088
6Nov 29, 2022 07:395,40041,647,52216,263,0001,016,0002,396,160
7Nov 29, 2022 07:395,40545,487,06815,262,0002,034,0002,523,136
8Nov 29, 2022 07:395,40547,393,73216,279,0001,017,0002,265,088
9Nov 29, 2022 07:395,41734,769,11017,335,00002,379,776
10Nov 29, 2022 07:395,60194,818,05117,924,57702,285,568
11Nov 29, 2022 07:395,64593,049,53518,062,71102,277,376
12Nov 29, 2022 07:395,68163,992,53818,177,60302,293,760