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 15:29Joad NacerJoad NacerScore: 5,495Success
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 15:295,47440,525,25616,487,0001,030,0002,289,664
2Apr 17, 2024 15:295,47540,074,72916,491,0001,030,0002,273,280
3Apr 17, 2024 15:295,48044,084,01616,505,0001,031,0002,289,664
4Apr 17, 2024 15:295,48434,155,10216,518,0001,032,0002,277,376
5Apr 17, 2024 15:295,48538,994,60516,520,0001,032,0002,367,488
6Apr 17, 2024 15:295,49345,886,89217,579,00002,269,184
7Apr 17, 2024 15:295,49538,504,66716,550,0001,034,0002,289,664
8Apr 17, 2024 15:295,52446,891,83416,639,0001,039,0002,277,376
9Apr 17, 2024 15:295,53946,541,58116,682,0001,042,0002,289,664
10Apr 17, 2024 15:295,69373,316,25218,217,27902,297,856
11Apr 17, 2024 15:295,72188,724,22218,308,21502,297,856
12Apr 17, 2024 15:295,72880,352,26318,329,46002,174,976