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 21, 2023 17:54DarkclainerDarkclainerScore: 5,447Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2023 17:545,41042,075,21315,275,0002,036,0002,269,184
2Feb 21, 2023 17:545,41834,967,76416,318,0001,019,0002,531,328
3Feb 21, 2023 17:545,42739,045,89916,344,0001,021,0002,269,184
4Feb 21, 2023 17:545,43047,626,03216,355,0001,022,0002,531,328
5Feb 21, 2023 17:545,43633,450,82816,372,0001,023,0002,269,184
6Feb 21, 2023 17:545,44343,438,06116,392,0001,024,0002,367,488
7Feb 21, 2023 17:545,44734,438,64316,405,0001,025,0002,367,488
8Feb 21, 2023 17:545,45239,997,70316,421,0001,026,0002,527,232
9Feb 21, 2023 17:545,45348,168,65616,424,0001,026,0002,269,184
10Feb 21, 2023 17:545,62880,163,69018,011,15002,256,896
11Feb 21, 2023 17:545,63680,054,88118,034,36902,248,704
12Feb 21, 2023 17:545,64460,665,00218,060,18302,248,704