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 22, 2024 11:11matsuoka-601matsuoka-601Score: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:115,45444,062,14216,426,0001,026,0002,285,568
2Jan 22, 2024 11:115,46151,553,55416,448,0001,028,0002,269,184
3Jan 22, 2024 11:115,47136,072,34616,478,0001,029,0002,285,568
4Jan 22, 2024 11:115,49443,744,17217,581,00002,527,232
5Jan 22, 2024 11:115,50343,666,87116,575,0001,035,0002,273,280
6Jan 22, 2024 11:115,50634,837,68716,582,0001,036,0002,285,568
7Jan 22, 2024 11:115,50846,656,11417,626,00002,285,568
8Jan 22, 2024 11:115,52646,667,94617,683,00002,285,568
9Jan 22, 2024 11:115,53445,761,95117,709,00002,269,184
10Jan 22, 2024 11:115,64084,994,94118,047,77202,179,072
11Jan 22, 2024 11:115,64678,595,88318,067,96302,306,048
12Jan 22, 2024 11:115,65690,240,79318,097,91002,293,760