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 22:28Andranik ChakiryanAndranik ChakiryanScore: 5,860Success
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 22:285,81551,867,63117,576,0001,033,0002,342,912
2Feb 22, 2023 09:405,82147,285,26617,594,0001,034,0002,347,008
3Feb 22, 2023 09:405,82534,229,82917,605,0001,035,0002,351,104
4Feb 22, 2023 09:405,82649,281,77218,643,00002,359,296
5Feb 21, 2023 22:285,83343,981,83118,667,00002,342,912
6Feb 21, 2023 22:285,83849,563,54818,680,00002,342,912
7Feb 22, 2023 09:405,84047,148,06616,613,0002,076,0002,342,912
8Feb 21, 2023 22:285,84145,812,44718,690,00002,342,912
9Feb 22, 2023 09:405,84335,041,34418,697,00002,338,816
10Feb 21, 2023 22:285,84850,308,05318,713,00002,338,816
11Feb 22, 2023 09:405,85346,961,28517,690,0001,040,0002,338,816
12Feb 21, 2023 22:285,85448,496,04417,694,0001,040,0002,342,912
13Feb 22, 2023 09:405,86042,570,21517,712,0001,041,0002,347,008
14Feb 21, 2023 22:285,86576,607,44818,767,00102,191,360
15Feb 21, 2023 22:285,87184,426,82018,787,01402,306,048
16Feb 22, 2023 09:405,87791,102,34218,805,28602,183,168
17Feb 22, 2023 09:405,88386,718,47818,824,64902,174,976
18Feb 22, 2023 09:405,89189,358,91018,851,35002,179,072
19Feb 22, 2023 09:405,89246,822,97017,862,000992,0002,351,104
20Feb 22, 2023 09:405,89446,264,67916,876,0001,985,0002,342,912
21Feb 21, 2023 22:285,89838,683,25617,879,000993,0002,342,912
22Feb 21, 2023 22:285,89946,964,19117,883,000993,0002,338,816
23Feb 21, 2023 22:285,90443,663,09917,898,000994,0002,342,912
24Feb 21, 2023 22:285,93781,651,04618,997,40602,191,360