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 18, 2024 09:19Joad NacerJoad NacerScore: 4,960Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 09:194,90039,054,59014,634,0001,045,0002,289,664
2Apr 18, 2024 09:194,90630,993,88214,654,0001,046,0002,289,664
3Apr 18, 2024 09:194,91341,740,92114,675,0001,048,0002,277,376
4Apr 18, 2024 09:194,91537,507,26814,679,0001,048,0002,527,232
5Apr 18, 2024 09:194,95532,455,67214,866,000991,0002,289,664
6Apr 18, 2024 09:194,95940,183,85113,887,0001,983,0002,289,664
7Apr 18, 2024 09:194,96042,020,27213,889,0001,984,0002,527,232
8Apr 18, 2024 09:194,96330,942,17414,890,000992,0002,523,136
9Apr 18, 2024 09:194,96947,395,41814,907,000993,0002,269,184
10Apr 18, 2024 09:195,17654,374,66116,563,88602,301,952
11Apr 18, 2024 09:195,19778,571,13416,631,66402,256,896
12Apr 18, 2024 09:195,19874,834,94316,633,98002,179,072