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 listSep 26, 2023 01:19IhebIhebScore: 5,781Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 01:195,72741,916,03116,289,0002,036,0002,269,184
2Sep 26, 2023 01:195,73244,487,40417,323,0001,019,0002,289,664
3Sep 26, 2023 01:195,74841,606,32317,371,0001,021,0002,392,064
4Sep 26, 2023 01:195,75339,612,70717,386,0001,022,0002,277,376
5Sep 26, 2023 01:195,75841,431,93417,403,0001,023,0002,277,376
6Sep 26, 2023 01:195,76344,590,39316,392,0002,049,0002,289,664
7Sep 26, 2023 01:195,78145,483,67918,499,00002,289,664
8Sep 26, 2023 01:195,81344,963,42717,570,0001,033,0002,277,376
9Sep 26, 2023 01:195,83648,991,55817,639,0001,037,0002,355,200
10Sep 26, 2023 01:195,94987,639,49619,038,01902,293,760
11Sep 26, 2023 01:195,97289,975,17919,111,11302,301,952
12Sep 26, 2023 01:195,99395,647,98919,177,21402,289,664