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 listJun 8, 2024 20:59AndreyTSAndreyTSScore: 5,401Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:595,36437,095,71415,145,0002,019,0002,289,664
2Jun 8, 2024 20:595,36638,902,06215,152,0002,020,0002,269,184
3Jun 8, 2024 20:595,37233,013,29015,169,0002,022,0002,269,184
4Jun 8, 2024 20:595,38638,134,98615,208,0002,027,0002,273,280
5Jun 8, 2024 20:595,39044,793,33216,234,0001,014,0002,289,664
6Jun 8, 2024 20:595,40039,564,62315,248,0002,033,0002,359,296
7Jun 8, 2024 20:595,40138,866,31516,268,0001,016,0002,273,280
8Jun 8, 2024 20:595,40934,263,99515,274,0002,036,0002,289,664
9Jun 8, 2024 20:595,44134,705,67015,364,0002,048,0002,289,664
10Jun 8, 2024 20:595,60470,438,17717,931,30402,174,976
11Jun 8, 2024 20:595,62892,934,74118,010,51802,301,952
12Jun 8, 2024 20:595,64482,481,02118,059,30202,306,048