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 2, 2023 21:57Jack FrigaardJack FrigaardScore: 4,821Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:574,79031,504,72814,307,0001,021,0002,285,568
2Jan 2, 2023 21:574,79931,721,08813,309,0002,047,0002,527,232
3Jan 2, 2023 21:574,80231,295,38814,343,0001,024,0002,269,184
4Jan 2, 2023 21:574,81235,968,60513,345,0002,053,0002,285,568
5Jan 2, 2023 21:574,81432,430,61813,352,0002,054,0002,285,568
6Jan 2, 2023 21:574,81643,336,77513,356,0002,054,0002,285,568
7Jan 2, 2023 21:574,82127,181,13514,399,0001,028,0002,367,488
8Jan 2, 2023 21:574,83837,906,89314,450,0001,032,0002,285,568
9Jan 2, 2023 21:574,83934,869,70314,453,0001,032,0002,285,568
10Jan 2, 2023 21:575,03580,882,17616,111,77402,252,800
11Jan 2, 2023 21:575,05491,382,37516,171,53402,301,952
12Jan 2, 2023 21:575,06488,507,13916,205,56602,293,760