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 18:58Joad NacerJoad NacerScore: 5,283Success
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 18:585,27143,567,90014,883,0001,984,0002,289,664
2Apr 17, 2024 18:585,27634,437,84614,897,0001,986,0002,273,280
3Apr 17, 2024 18:585,27847,583,85915,896,000993,0002,269,184
4Apr 17, 2024 18:585,27846,661,47114,903,0001,987,0002,269,184
5Apr 17, 2024 18:585,28136,245,95014,911,0001,988,0002,392,064
6Apr 17, 2024 18:585,28336,444,05115,910,000994,0002,289,664
7Apr 17, 2024 18:585,28338,056,06916,907,00002,289,664
8Apr 17, 2024 18:585,30144,111,68714,969,0001,995,0002,289,664
9Apr 17, 2024 18:585,31038,515,30214,992,0001,999,0002,523,136
10Apr 17, 2024 18:585,46699,817,73517,492,64902,301,952
11Apr 17, 2024 18:585,48394,640,62117,544,04202,174,976
12Apr 17, 2024 18:585,51276,930,15817,637,55502,306,048