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 4, 2024 01:28Christopher TarryChristopher TarryScore: 5,894Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 01:285,75544,235,93918,415,00002,523,136
2Apr 4, 2024 01:285,83644,634,27918,675,00002,277,376
3Apr 4, 2024 01:285,84345,366,66917,659,0001,038,0002,289,664
4Apr 4, 2024 01:285,88535,684,89716,850,0001,982,0002,273,280
5Apr 4, 2024 01:285,88746,495,52718,838,00002,289,664
6Apr 4, 2024 01:285,89052,148,25017,856,000992,0002,289,664
7Apr 4, 2024 01:285,89447,090,48616,875,0001,985,0002,269,184
8Apr 4, 2024 01:285,90141,002,67617,889,000993,0002,269,184
9Apr 4, 2024 01:285,90547,180,54116,908,0001,989,0002,289,664
10Apr 4, 2024 01:286,07080,316,63819,424,34202,297,856
11Apr 4, 2024 01:286,08084,513,12419,457,10002,301,952
12Apr 4, 2024 01:286,10781,759,68619,541,28102,301,952