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 listJul 22, 2022 21:49Robert BurkeRobert BurkeScore: 4,843Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 21:494,82031,491,29414,397,0001,028,0002,428,928
2Jul 22, 2022 21:494,82827,593,47314,421,0001,030,0002,535,424
3Jul 22, 2022 21:494,83231,769,44615,462,00002,514,944
4Jul 22, 2022 21:494,83240,097,56014,433,0001,030,0002,273,280
5Jul 22, 2022 21:494,83436,830,89514,439,0001,031,0002,535,424
6Jul 22, 2022 21:494,84232,773,48315,493,00002,428,928
7Jul 22, 2022 21:494,84329,927,55915,497,00002,424,832
8Jul 22, 2022 21:494,84432,998,56214,467,0001,033,0002,433,024
9Jul 22, 2022 21:494,90333,954,46314,643,0001,045,0002,273,280
10Jul 22, 2022 21:494,99575,876,34715,984,82802,179,072
11Jul 22, 2022 21:495,01688,488,53416,051,20602,183,168
12Jul 22, 2022 21:495,02580,713,38816,079,02702,187,264