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 listJun 19, 2023 17:45Ulyanov AlekseyUlyanov AlekseyScore: 5,762Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 17:455,72344,598,74517,296,0001,017,0002,289,664
2Jun 19, 2023 17:455,72333,967,87217,297,0001,017,0002,289,664
3Jun 19, 2023 17:455,72431,718,97317,300,0001,017,0002,289,664
4Jun 19, 2023 17:455,73538,471,66116,312,0002,039,0002,273,280
5Jun 19, 2023 17:455,73541,793,34716,312,0002,039,0002,289,664
6Jun 19, 2023 17:455,73634,973,69416,423,0001,932,0002,289,664
7Jun 19, 2023 17:455,73839,440,60017,341,0001,020,0002,289,664
8Jun 19, 2023 17:455,73843,881,82417,340,0001,020,0002,289,664
9Jun 19, 2023 17:455,74542,787,59016,342,0002,042,0002,289,664
10Jun 19, 2023 17:455,74636,210,79816,345,0002,043,0002,289,664
11Jun 19, 2023 17:455,74740,970,58516,346,0002,043,0002,289,664
12Jun 19, 2023 17:455,75143,214,84517,381,0001,022,0002,277,376
13Jun 19, 2023 17:455,76240,830,58918,437,00002,289,664
14Jun 19, 2023 17:455,77735,912,10717,459,0001,027,0002,289,664
15Jun 19, 2023 17:455,77834,455,21017,462,0001,027,0002,277,376
16Jun 19, 2023 17:455,79040,340,04717,500,0001,029,0002,277,376
17Jun 19, 2023 17:455,79934,336,42517,527,0001,031,0002,375,680
18Jun 19, 2023 17:455,80340,502,12818,570,00002,289,664
19Jun 19, 2023 17:455,88980,469,24618,844,88002,293,760
20Jun 19, 2023 17:455,91093,381,22918,911,75602,306,048
21Jun 19, 2023 17:455,91783,840,12518,934,13002,179,072
22Jun 19, 2023 17:455,93375,792,85118,986,17002,293,760
23Jun 19, 2023 17:455,964101,528,24119,083,38902,174,976
24Jun 19, 2023 17:455,965103,608,33619,088,62802,297,856