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 18, 2024 04:58Tejas G.Tejas G.Score: 5,912Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 04:585,89342,481,86216,874,0001,985,0002,375,680
2Apr 18, 2024 04:585,89444,056,87016,877,0001,985,0002,289,664
3Apr 18, 2024 04:585,89943,228,65817,884,000993,0002,289,664
4Apr 18, 2024 04:585,89945,075,98916,891,0001,987,0002,273,280
5Apr 18, 2024 04:585,90038,472,55416,892,0001,987,0002,269,184
6Apr 18, 2024 04:585,90248,900,45316,898,0001,988,0002,289,664
7Apr 18, 2024 04:585,91238,178,07816,927,0001,991,0002,289,664
8Apr 18, 2024 04:585,91744,824,42716,942,0001,993,0002,289,664
9Apr 18, 2024 04:585,91853,211,53516,946,0001,993,0002,277,376
10Apr 18, 2024 04:586,13273,823,23119,623,34402,301,952
11Apr 18, 2024 04:586,14377,765,35419,658,17202,179,072
12Apr 18, 2024 04:586,17091,846,67319,745,50702,297,856