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 listJul 28, 2024 08:42BenBenScore: 4,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:424,59331,739,64413,649,0001,049,0002,392,064
2Jul 28, 2024 08:424,60033,532,61313,670,0001,051,0002,265,088
3Jul 28, 2024 08:424,60143,827,41913,671,0001,051,0002,527,232
4Jul 28, 2024 08:424,64333,970,41512,876,0001,980,0002,392,064
5Jul 28, 2024 08:424,64540,064,47713,874,000991,0002,265,088
6Jul 28, 2024 08:424,64732,185,97814,870,00002,265,088
7Jul 28, 2024 08:424,64734,599,96713,879,000991,0002,265,088
8Jul 28, 2024 08:424,64934,935,61913,886,000991,0002,387,968
9Jul 28, 2024 08:424,65540,344,20213,904,000993,0002,265,088
10Jul 28, 2024 08:424,82066,972,76115,425,41402,289,664
11Jul 28, 2024 08:424,82587,414,29715,440,02802,285,568
12Jul 28, 2024 08:424,84380,132,63815,496,00602,281,472