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 8, 2024 23:09Casper BelierCasper BelierScore: 5,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2024 23:125,37639,510,49016,191,0001,011,0002,289,664
2Aug 8, 2024 23:125,37843,754,60516,196,0001,012,0002,289,664
3Aug 8, 2024 23:125,38643,036,00515,209,0002,027,0002,277,376
4Aug 8, 2024 23:125,38936,364,78415,217,0002,028,0002,289,664
5Aug 8, 2024 23:125,39039,703,73615,220,0002,029,0002,523,136
6Aug 8, 2024 23:095,39744,950,52015,238,0002,031,0002,289,664
7Aug 8, 2024 23:095,40443,218,48115,258,0002,034,0002,289,664
8Aug 8, 2024 23:125,41543,768,05516,309,0001,019,0002,273,280
9Aug 8, 2024 23:095,41639,619,77116,313,0001,019,0002,269,184
10Aug 8, 2024 23:095,42335,481,77015,314,0002,041,0002,289,664
11Aug 8, 2024 23:125,42933,192,05316,352,0001,022,0002,265,088
12Aug 8, 2024 23:125,43737,331,36515,352,0002,047,0002,289,664
13Aug 8, 2024 23:095,43939,975,94016,382,0001,023,0002,289,664
14Aug 8, 2024 23:095,44139,399,02115,363,0002,048,0002,265,088
15Aug 8, 2024 23:095,44741,290,42516,404,0001,025,0002,273,280
16Aug 8, 2024 23:095,44940,439,98915,385,0002,051,0002,289,664
17Aug 8, 2024 23:125,45340,016,45315,398,0002,053,0002,269,184
18Aug 8, 2024 23:095,46036,947,17516,446,0001,027,0002,289,664
19Aug 8, 2024 23:125,71094,353,92918,270,75902,310,144
20Aug 8, 2024 23:125,72080,308,13118,303,66502,293,760
21Aug 8, 2024 23:095,73286,311,45518,342,47402,170,880
22Aug 8, 2024 23:095,73989,966,02418,363,93802,297,856
23Aug 8, 2024 23:095,743125,146,68318,378,92702,306,048
24Aug 8, 2024 23:125,74692,805,93218,387,98402,301,952