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 16:16Jack FrigaardJack FrigaardScore: 5,338Success
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 16:165,30434,551,08614,976,0001,996,0002,269,184
2Jan 2, 2023 16:165,31938,519,27315,020,0002,002,0002,269,184
3Jan 2, 2023 16:165,32638,945,00615,039,0002,005,0002,531,328
4Jan 2, 2023 16:165,33054,662,49015,049,0002,006,0002,285,568
5Jan 2, 2023 16:165,33038,266,84115,051,0002,006,0002,285,568
6Jan 2, 2023 16:165,33232,496,76515,056,0002,007,0002,527,232
7Jan 2, 2023 16:165,33838,318,49915,071,0002,009,0002,285,568
8Jan 2, 2023 16:165,36534,118,88415,149,0002,019,0002,285,568
9Jan 2, 2023 16:165,36853,229,53315,158,0002,021,0002,285,568
10Jan 2, 2023 16:165,57199,816,60617,828,56002,297,856
11Jan 2, 2023 16:165,57270,372,01817,830,22502,306,048
12Jan 2, 2023 16:165,59474,180,41217,902,39002,306,048