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 listJan 15, 2024 08:01matsuoka-601matsuoka-601Score: 5,558Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 08:015,50148,641,71816,567,0001,035,0002,289,664
2Jan 15, 2024 08:015,51933,446,24316,622,0001,038,0002,392,064
3Jan 15, 2024 08:015,52742,321,00916,647,0001,040,0002,289,664
4Jan 15, 2024 08:015,53646,176,74716,672,0001,042,0002,273,280
5Jan 15, 2024 08:015,53649,969,71316,672,0001,042,0002,289,664
6Jan 15, 2024 08:015,54237,933,82916,690,0001,043,0002,289,664
7Jan 15, 2024 08:015,55848,268,42716,739,0001,046,0002,265,088
8Jan 15, 2024 08:015,57543,031,08416,850,000991,0002,289,664
9Jan 15, 2024 08:015,58744,313,37216,884,000993,0002,289,664
10Jan 15, 2024 08:015,65486,894,85618,092,56202,301,952
11Jan 15, 2024 08:015,67093,796,00518,144,05502,297,856
12Jan 15, 2024 08:015,70886,143,64618,266,64002,306,048