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 03:18Joad NacerJoad NacerScore: 5,396Success
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 03:185,36038,543,46015,134,0002,017,0002,289,664
2Apr 17, 2024 03:185,36142,689,17415,138,0002,018,0002,289,664
3Apr 17, 2024 03:185,36438,535,46615,145,0002,019,0002,289,664
4Apr 17, 2024 03:185,37333,944,80916,184,0001,011,0002,289,664
5Apr 17, 2024 03:185,37735,287,88715,181,0002,024,0002,269,184
6Apr 17, 2024 03:185,39040,680,69815,219,0002,029,0002,289,664
7Apr 17, 2024 03:185,39641,582,65916,251,0001,015,0002,273,280
8Apr 17, 2024 03:185,41139,017,86515,279,0002,037,0002,289,664
9Apr 17, 2024 03:185,41346,295,97315,397,0001,924,0002,355,200
10Apr 17, 2024 03:185,58491,567,26617,867,80702,289,664
11Apr 17, 2024 03:185,61471,353,27217,965,69202,183,168
12Apr 17, 2024 03:185,615107,044,35617,969,37402,301,952