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 5, 2023 22:41Hal FHal FScore: 4,993Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 22:414,96744,175,72213,907,0001,986,0002,289,664
2Jan 5, 2023 22:414,97842,729,94613,939,0001,991,0002,277,376
3Jan 5, 2023 22:414,98137,552,70113,948,0001,992,0002,285,568
4Jan 5, 2023 22:414,99042,968,41014,970,000998,0002,269,184
5Jan 5, 2023 22:414,99297,280,51715,974,52602,174,976
6Jan 5, 2023 22:414,99238,196,46314,975,000998,0002,277,376
7Jan 5, 2023 22:414,99395,048,71315,976,31602,301,952
8Jan 5, 2023 22:414,99334,131,91514,979,000998,0002,281,472
9Jan 5, 2023 22:415,00732,192,38014,020,0002,002,0002,379,776
10Jan 5, 2023 22:415,01138,505,72414,032,0002,004,0002,289,664
11Jan 5, 2023 22:415,02977,273,87516,092,37302,297,856
12Jan 5, 2023 22:415,04338,523,24214,119,0002,017,0002,289,664