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 7, 2024 01:31zielajzielajScore: 4,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:314,56440,534,38313,563,0001,043,0002,289,664
2Aug 7, 2024 01:314,56738,438,75213,570,0001,043,0002,277,376
3Aug 7, 2024 01:314,57431,896,63013,592,0001,045,0002,289,664
4Aug 7, 2024 01:314,57731,487,35714,645,00002,277,376
5Aug 7, 2024 01:314,57832,202,87213,602,0001,046,0002,277,376
6Aug 7, 2024 01:314,58240,270,61913,615,0001,047,0002,289,664
7Aug 7, 2024 01:314,58336,782,54813,620,0001,047,0002,273,280
8Aug 7, 2024 01:314,58330,721,19813,620,0001,047,0002,273,280
9Aug 7, 2024 01:314,58434,035,57613,622,0001,047,0002,289,664
10Aug 7, 2024 01:314,58436,990,51013,623,0001,047,0002,269,184
11Aug 7, 2024 01:314,58637,081,03813,626,0001,048,0002,273,280
12Aug 7, 2024 01:314,58847,155,45714,681,00002,273,280
13Aug 7, 2024 01:314,58837,102,17313,635,0001,048,0002,289,664
14Aug 7, 2024 01:314,59547,008,77413,655,0001,050,0002,289,664
15Aug 7, 2024 01:314,60041,980,57414,720,00002,289,664
16Aug 7, 2024 01:314,60132,075,63613,671,0001,051,0002,289,664
17Aug 7, 2024 01:314,65136,387,72512,900,0001,984,0002,269,184
18Aug 7, 2024 01:314,65630,475,87313,907,000993,0002,277,376
19Aug 7, 2024 01:314,80579,864,23315,376,31902,179,072
20Aug 7, 2024 01:314,81192,432,81715,396,60202,179,072
21Aug 7, 2024 01:314,81788,891,67815,413,17802,310,144
22Aug 7, 2024 01:314,824100,693,83115,436,74002,179,072
23Aug 7, 2024 01:314,83591,844,01815,473,04502,306,048
24Aug 7, 2024 01:314,84590,318,13115,502,59202,183,168