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:20Huy Duc LeHuy Duc LeScore: 4,838Success
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:204,79343,016,80614,315,0001,022,0002,289,664
2Feb 22, 2024 13:204,80837,761,13713,334,0002,051,0002,289,664
3Feb 22, 2024 13:204,81640,888,87813,357,0002,055,0002,285,568
4Feb 22, 2024 13:204,81832,477,96214,389,0001,027,0002,281,472
5Feb 22, 2024 13:204,82536,771,96115,440,00002,289,664
6Feb 22, 2024 13:204,82738,129,59413,386,0002,059,0002,281,472
7Feb 22, 2024 13:204,83831,081,15113,417,0002,064,0002,523,136
8Feb 22, 2024 13:204,83838,874,41814,451,0001,032,0002,289,664
9Feb 22, 2024 13:204,86131,558,05614,518,0001,037,0002,277,376
10Feb 22, 2024 13:204,98996,738,94815,963,84602,183,168
11Feb 22, 2024 13:205,01876,423,46716,056,02502,297,856
12Feb 22, 2024 13:205,04976,076,17816,157,88702,301,952