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 10, 2024 20:16Robert BlackwellRobert BlackwellScore: 5,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 20:165,39532,608,66316,250,0001,015,0002,396,160
2Apr 10, 2024 20:165,40333,075,90817,290,00002,387,968
3Apr 10, 2024 20:165,41736,843,09216,314,0001,019,0002,396,160
4Apr 10, 2024 20:165,43035,200,19517,377,00002,396,160
5Apr 10, 2024 20:165,43948,374,37916,383,0001,023,0002,392,064
6Apr 10, 2024 20:165,44237,036,94516,391,0001,024,0002,265,088
7Apr 10, 2024 20:165,44339,086,22717,419,00002,383,872
8Apr 10, 2024 20:165,45639,310,09616,432,0001,027,0002,265,088
9Apr 10, 2024 20:165,46234,242,84516,449,0001,028,0002,473,984
10Apr 10, 2024 20:165,56592,134,24117,808,45202,285,568
11Apr 10, 2024 20:165,58460,262,02217,869,14902,285,568
12Apr 10, 2024 20:165,59167,592,42917,890,42802,240,512