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 17, 2024 17:54Joad NacerJoad NacerScore: 4,948Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 17:544,83333,889,46814,435,0001,031,0002,277,376
2Apr 17, 2024 17:544,87846,823,35014,571,0001,040,0002,289,664
3Apr 17, 2024 17:544,88037,970,92514,576,0001,041,0002,289,664
4Apr 17, 2024 17:544,90541,739,76415,696,00002,289,664
5Apr 17, 2024 17:544,90546,919,95114,651,0001,046,0002,273,280
6Apr 17, 2024 17:544,91041,316,06614,665,0001,047,0002,281,472
7Apr 17, 2024 17:544,94840,860,99213,855,0001,979,0002,289,664
8Apr 17, 2024 17:544,94847,500,11813,856,0001,979,0002,289,664
9Apr 17, 2024 17:544,95932,719,28314,879,000991,0002,273,280
10Apr 17, 2024 17:545,12886,542,94216,408,61902,297,856
11Apr 17, 2024 17:545,15759,329,04216,502,13302,301,952
12Apr 17, 2024 17:545,17179,986,67516,546,11802,293,760