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 13, 2024 20:01Brian WardBrian WardScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2024 20:015,65744,182,45817,098,0001,005,0002,359,296
2Apr 13, 2024 20:015,66435,220,51617,118,0001,006,0002,359,296
3Apr 13, 2024 20:015,66444,052,38016,112,0002,014,0002,289,664
4Apr 13, 2024 20:015,67142,831,12917,138,0001,008,0002,469,888
5Apr 13, 2024 20:015,67641,716,10917,154,0001,009,0002,351,104
6Apr 13, 2024 20:015,69846,362,12716,209,0002,026,0002,342,912
7Apr 13, 2024 20:015,70843,555,03816,236,0002,029,0002,289,664
8Apr 13, 2024 20:015,74846,154,62817,372,0001,021,0002,289,664
9Apr 13, 2024 20:015,75144,575,03117,382,0001,022,0002,457,600
10Apr 13, 2024 20:015,811106,635,08618,594,77802,244,608
11Apr 13, 2024 20:015,92284,578,41018,949,65902,232,320
12Apr 13, 2024 20:015,969111,953,48419,099,25002,256,896