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 listAug 10, 2023 08:51parsersmailparsersmailScore: 5,769Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 08:515,70734,976,72416,233,0002,029,0002,420,736
2Aug 10, 2023 08:515,73341,163,20816,308,0002,038,0002,424,832
3Aug 10, 2023 08:515,74037,269,95817,348,0001,020,0002,420,736
4Aug 10, 2023 08:515,75543,632,02416,369,0002,046,0002,424,832
5Aug 10, 2023 08:515,76382,099,03218,441,79402,236,416
6Aug 10, 2023 08:515,76445,152,94717,421,0001,024,0002,347,008
7Aug 10, 2023 08:515,76951,981,18317,435,0001,025,0002,420,736
8Aug 10, 2023 08:515,77281,549,36518,471,00902,248,704
9Aug 10, 2023 08:515,878103,670,63418,808,63702,252,800
10Aug 10, 2023 08:516,10044,354,98516,437,0003,082,0002,347,008
11Aug 10, 2023 08:516,11048,801,30517,494,0002,058,0002,400,256
12Aug 10, 2023 08:516,11446,111,60816,477,0003,089,0002,347,008