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 listMay 22, 2021 08:44Dmitry DolgopolovDmitry DolgopolovScore: 5,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 08:445,50438,249,65816,577,0001,036,0002,387,968
2May 22, 2021 08:445,50844,481,19817,626,00002,265,088
3May 22, 2021 08:445,51542,425,89417,647,00002,527,232
4May 22, 2021 08:445,51549,431,94216,610,0001,038,0002,265,088
5May 22, 2021 08:445,52046,151,22517,664,00002,265,088
6May 22, 2021 08:445,52147,625,28316,628,0001,039,0002,375,680
7May 22, 2021 08:445,52443,884,19117,677,00002,265,088
8May 22, 2021 08:445,52850,371,56416,651,0001,040,0002,265,088
9May 22, 2021 08:445,52848,953,18017,691,00002,265,088
10May 22, 2021 08:445,72275,155,07818,310,33902,277,376
11May 22, 2021 08:445,72580,035,32018,320,50402,277,376
12May 22, 2021 08:445,74285,118,01918,373,96502,289,664
13May 22, 2021 08:445,76159,771,25518,433,73702,277,376
14May 22, 2021 08:445,76592,365,82218,449,12802,277,376
15May 22, 2021 08:445,806100,286,44318,577,64402,273,280