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 listFeb 22, 2024 13:30Huy Duc LeHuy Duc LeScore: 4,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:304,77930,926,71214,275,0001,019,0002,281,472
2Feb 22, 2024 13:304,79036,448,14913,284,0002,043,0002,289,664
3Feb 22, 2024 13:304,79332,343,20113,294,0002,045,0002,289,664
4Feb 22, 2024 13:304,79635,537,37613,301,0002,046,0002,273,280
5Feb 22, 2024 13:304,80335,657,71413,320,0002,049,0002,289,664
6Feb 22, 2024 13:304,80340,824,91113,320,0002,049,0002,277,376
7Feb 22, 2024 13:304,81831,861,96513,362,0002,055,0002,265,088
8Feb 22, 2024 13:304,81941,391,81613,366,0002,056,0002,277,376
9Feb 22, 2024 13:304,82433,781,45914,409,0001,029,0002,289,664
10Feb 22, 2024 13:305,00395,587,32516,011,11602,306,048
11Feb 22, 2024 13:305,01279,866,74116,038,53002,187,264
12Feb 22, 2024 13:305,03294,196,88616,101,41702,301,952