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:38Huy Duc LeHuy Duc LeScore: 4,823Success
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:384,79931,190,47713,311,0002,047,0002,277,376
2Feb 22, 2024 13:384,80831,643,98613,333,0002,051,0002,265,088
3Feb 22, 2024 13:384,80832,045,15915,385,00002,269,184
4Feb 22, 2024 13:384,81037,410,03114,365,0001,026,0002,281,472
5Feb 22, 2024 13:384,81136,277,63914,368,0001,026,0002,289,664
6Feb 22, 2024 13:384,81336,729,54714,376,0001,026,0002,289,664
7Feb 22, 2024 13:384,82340,988,88915,433,00002,273,280
8Feb 22, 2024 13:384,82533,049,56314,410,0001,029,0002,289,664
9Feb 22, 2024 13:384,87633,109,85914,564,0001,040,0002,265,088
10Feb 22, 2024 13:385,04189,838,71716,131,54802,179,072
11Feb 22, 2024 13:385,04187,628,31916,131,47702,301,952
12Feb 22, 2024 13:385,07093,797,83816,223,57802,174,976