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 listApr 10, 2024 01:56Steve BronderSteve BronderScore: 5,766Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 01:565,70046,447,71417,226,0001,013,0002,293,760
2Apr 10, 2024 01:565,73040,697,22317,319,0001,018,0002,293,760
3Apr 10, 2024 01:565,74141,506,49716,329,0002,041,0002,519,040
4Apr 10, 2024 01:565,74439,258,31118,381,00002,293,760
5Apr 10, 2024 01:565,76345,777,62717,416,0001,024,0002,293,760
6Apr 10, 2024 01:565,76334,183,41616,393,0002,049,0002,293,760
7Apr 10, 2024 01:565,76638,302,08017,425,0001,025,0002,367,488
8Apr 10, 2024 01:565,77940,566,09517,466,0001,027,0002,506,752
9Apr 10, 2024 01:565,78840,975,73817,492,0001,028,0002,510,848
10Apr 10, 2024 01:565,99979,822,48119,195,48902,273,280
11Apr 10, 2024 01:566,00392,353,45719,209,03802,285,568
12Apr 10, 2024 01:566,01773,208,78719,255,75802,289,664