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 12:36Huy Duc LeHuy Duc LeScore: 5,485Success
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 12:365,45133,456,95517,442,00002,273,280
2Feb 22, 2024 12:365,45749,272,54316,434,0001,027,0002,293,760
3Feb 22, 2024 12:365,45842,260,75216,440,0001,027,0002,277,376
4Feb 22, 2024 12:365,46339,552,25016,455,0001,028,0002,293,760
5Feb 22, 2024 12:365,46943,539,22617,502,00002,293,760
6Feb 22, 2024 12:365,47631,362,09216,494,0001,030,0002,285,568
7Feb 22, 2024 12:365,48540,928,67916,519,0001,032,0002,273,280
8Feb 22, 2024 12:365,50143,808,07216,569,0001,035,0002,293,760
9Feb 22, 2024 12:365,50147,755,78316,569,0001,035,0002,293,760
10Feb 22, 2024 12:365,65981,205,10618,107,71702,301,952
11Feb 22, 2024 12:365,66788,802,21518,134,38602,306,048
12Feb 22, 2024 12:365,68289,992,53918,183,46802,293,760