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 listFeb 27, 2024 21:01Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 21:015,66543,621,96217,122,0001,007,0002,277,376
2Feb 27, 2024 21:015,67543,105,29516,142,0002,017,0002,277,376
3Feb 27, 2024 21:015,67535,707,90518,160,00002,293,760
4Feb 27, 2024 21:015,67743,715,38116,148,0002,018,0002,293,760
5Feb 27, 2024 21:015,68045,903,83717,168,0001,009,0002,273,280
6Feb 27, 2024 21:015,68239,666,50716,161,0002,020,0002,277,376
7Feb 27, 2024 21:015,68234,865,55216,162,0002,020,0002,293,760
8Feb 27, 2024 21:015,69746,358,85416,204,0002,025,0002,273,280
9Feb 27, 2024 21:015,70841,506,43516,238,0002,029,0002,531,328
10Feb 27, 2024 21:015,72686,733,92518,322,60902,195,456
11Feb 27, 2024 21:015,74992,580,06318,396,74102,301,952
12Feb 27, 2024 21:015,75390,096,95618,410,94902,183,168