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 11, 2024 17:18Drew GarciaDrew GarciaScore: 5,601Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 17:185,54838,396,56316,710,0001,044,0002,269,184
2Apr 11, 2024 17:185,58449,331,62016,877,000992,0002,269,184
3Apr 11, 2024 17:185,58443,656,23115,885,0001,985,0002,269,184
4Apr 11, 2024 17:185,58650,824,38714,897,0002,979,0002,269,184
5Apr 11, 2024 17:185,58644,070,36816,883,000993,0002,269,184
6Apr 11, 2024 17:185,59243,808,77816,901,000994,0002,396,160
7Apr 11, 2024 17:185,60145,945,64515,932,0001,991,0002,269,184
8Apr 11, 2024 17:185,60335,342,87716,932,000996,0002,404,352
9Apr 11, 2024 17:185,61139,503,94015,960,0001,995,0002,269,184
10Apr 11, 2024 17:185,91481,470,91418,925,40302,179,072
11Apr 11, 2024 17:185,91472,070,29718,926,33802,289,664
12Apr 11, 2024 17:185,93768,408,42918,999,96702,301,952