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 15, 2023 00:12LiamLiamScore: 5,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 15, 2023 00:125,58841,244,22717,881,00002,281,472
2Feb 15, 2023 00:125,59538,947,53516,909,000994,0002,281,472
3Feb 15, 2023 00:125,61339,810,73016,965,000997,0002,277,376
4Feb 15, 2023 00:125,61841,505,22116,978,000998,0002,281,472
5Feb 15, 2023 00:125,62238,896,39814,991,0002,998,0002,281,472
6Feb 15, 2023 00:125,63739,260,13516,035,0002,004,0002,289,664
7Feb 15, 2023 00:125,64245,403,66816,049,0002,006,0002,281,472
8Feb 15, 2023 00:125,64645,505,22416,059,0002,007,0002,277,376
9Feb 15, 2023 00:125,66841,519,24916,121,0002,015,0002,273,280
10Feb 15, 2023 00:125,80486,361,26418,574,32202,183,168
11Feb 15, 2023 00:125,84690,574,16618,707,16402,179,072
12Feb 15, 2023 00:125,96788,998,02019,094,32802,301,952