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 listAug 3, 2024 19:41zielajzielajScore: 4,787Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 19:414,73529,770,11814,143,0001,010,0002,527,232
2Aug 3, 2024 19:414,75732,198,48813,193,0002,029,0002,277,376
3Aug 3, 2024 19:414,76338,714,31013,211,0002,032,0002,277,376
4Aug 3, 2024 19:414,76631,516,25012,200,0003,050,0002,277,376
5Aug 3, 2024 19:414,77037,575,15213,229,0002,035,0002,277,376
6Aug 3, 2024 19:414,77136,417,98812,213,0003,053,0002,527,232
7Aug 3, 2024 19:414,78737,323,82613,276,0002,042,0002,367,488
8Aug 3, 2024 19:414,78936,966,54514,305,0001,021,0002,277,376
9Aug 3, 2024 19:414,85634,214,18313,596,0001,942,0002,277,376
10Aug 3, 2024 19:415,04174,638,57016,132,15002,183,168
11Aug 3, 2024 19:415,08483,626,59116,269,39902,174,976
12Aug 3, 2024 19:415,10167,075,58416,322,60702,301,952