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 9, 2024 18:18AndreyTSAndreyTSScore: 5,675Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:175,61841,169,55016,981,000998,0002,273,280
2Jun 9, 2024 18:185,62341,938,98715,994,0001,999,0002,273,280
3Jun 9, 2024 18:175,63743,887,20216,034,0002,004,0002,289,664
4Jun 9, 2024 18:185,63946,687,28216,040,0002,005,0002,269,184
5Jun 9, 2024 18:175,64044,935,60816,043,0002,005,0002,277,376
6Jun 9, 2024 18:185,64638,961,74716,061,0002,007,0002,289,664
7Jun 9, 2024 18:175,65544,946,28916,085,0002,010,0002,277,376
8Jun 9, 2024 18:185,65840,902,03816,093,0002,011,0002,273,280
9Jun 9, 2024 18:175,66241,037,51016,106,0002,013,0002,273,280
10Jun 9, 2024 18:185,66341,949,67217,116,0001,006,0002,289,664
11Jun 9, 2024 18:185,66942,208,34816,126,0002,015,0002,273,280
12Jun 9, 2024 18:175,67541,083,79516,143,0002,017,0002,289,664
13Jun 9, 2024 18:175,67539,970,15616,142,0002,017,0002,273,280
14Jun 9, 2024 18:175,67943,936,30616,153,0002,019,0002,289,664
15Jun 9, 2024 18:185,68043,460,71516,156,0002,019,0002,289,664
16Jun 9, 2024 18:175,68139,648,80516,160,0002,020,0002,289,664
17Jun 9, 2024 18:185,75134,674,29217,382,0001,022,0002,269,184
18Jun 9, 2024 18:185,78549,111,12915,589,0002,923,0002,269,184
19Jun 9, 2024 18:175,91282,134,65218,918,69102,174,976
20Jun 9, 2024 18:185,91491,354,09318,924,26702,306,048
21Jun 9, 2024 18:175,91589,738,17018,928,54702,170,880
22Jun 9, 2024 18:185,93287,114,55418,980,93802,301,952
23Jun 9, 2024 18:185,95597,734,32319,054,94402,301,952
24Jun 9, 2024 18:175,966104,266,10719,091,86202,301,952