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 listJul 22, 2024 23:29Joad NacerJoad NacerScore: 4,840Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 23:294,81332,253,25913,349,0002,053,0002,273,280
2Jul 22, 2024 23:294,81642,859,29714,385,0001,027,0002,289,664
3Jul 22, 2024 23:294,81735,627,62014,387,0001,027,0002,289,664
4Jul 22, 2024 23:294,82731,038,43614,418,0001,029,0002,273,280
5Jul 22, 2024 23:294,83340,027,83314,435,0001,031,0002,289,664
6Jul 22, 2024 23:294,83447,339,12515,468,00002,273,280
7Jul 22, 2024 23:294,84039,007,74414,456,0001,032,0002,523,136
8Jul 22, 2024 23:294,86739,847,69014,535,0001,038,0002,523,136
9Jul 22, 2024 23:294,87639,567,77114,564,0001,040,0002,289,664
10Jul 22, 2024 23:295,10759,533,29516,341,84802,310,144
11Jul 22, 2024 23:295,12665,912,88016,403,85802,179,072
12Jul 22, 2024 23:295,12982,814,37416,412,33802,301,952