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 31, 2024 12:49matsuoka-601matsuoka-601Score: 5,419Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 12:495,37939,338,63716,202,0001,012,0002,535,424
2Aug 31, 2024 12:495,39037,146,40616,235,0001,014,0002,428,928
3Aug 31, 2024 12:495,39938,888,29917,278,00002,531,328
4Sep 1, 2024 13:395,40243,713,34916,270,0001,016,0002,428,928
5Sep 1, 2024 13:395,40434,351,05017,293,00002,269,184
6Aug 31, 2024 12:495,40745,164,79816,285,0001,017,0002,531,328
7Sep 1, 2024 13:395,40739,812,82016,285,0001,017,0002,428,928
8Aug 31, 2024 12:495,40739,076,60915,268,0002,035,0002,433,024
9Sep 1, 2024 13:395,40833,390,05517,306,00002,531,328
10Sep 1, 2024 13:395,41135,095,57117,314,00002,433,024
11Sep 1, 2024 13:395,41238,454,31416,301,0001,018,0002,437,120
12Sep 1, 2024 13:395,41340,315,18716,303,0001,018,0002,433,024
13Aug 31, 2024 12:495,41939,137,76917,341,00002,535,424
14Aug 31, 2024 12:495,41940,644,24117,342,00002,519,040
15Sep 1, 2024 13:395,42142,524,58117,348,00002,428,928
16Sep 1, 2024 13:395,42238,396,98017,350,00002,433,024
17Aug 31, 2024 12:495,42232,938,22117,349,00002,535,424
18Aug 31, 2024 12:495,42541,009,40517,359,00002,428,928
19Sep 1, 2024 13:395,42940,076,04417,372,00002,535,424
20Sep 1, 2024 13:395,43136,023,51617,379,00002,535,424
21Sep 1, 2024 13:395,43436,935,87017,388,00002,273,280
22Aug 31, 2024 12:495,44035,680,05716,385,0001,024,0002,428,928
23Aug 31, 2024 12:495,44936,478,15917,436,00002,273,280
24Aug 31, 2024 12:495,44936,903,46716,412,0001,025,0002,514,944