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 26, 2024 13:07vahookvahookScore: 4,387Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 13:084,33534,460,29013,871,00002,277,376
2Aug 26, 2024 13:084,33631,036,53413,875,00002,498,560
3Aug 26, 2024 13:084,33833,549,07513,882,00002,498,560
4Aug 26, 2024 13:084,34036,387,38912,820,0001,068,0002,277,376
5Aug 26, 2024 13:084,34233,768,47312,902,000992,0002,277,376
6Aug 26, 2024 13:084,34229,175,81612,903,000992,0002,277,376
7Aug 26, 2024 13:084,34634,051,10513,906,00002,277,376
8Aug 26, 2024 13:084,35131,916,45912,928,000994,0002,535,424
9Aug 26, 2024 13:084,35833,479,00012,950,000996,0002,502,656
10Aug 26, 2024 13:074,37931,834,76513,013,0001,001,0002,498,560
11Aug 26, 2024 13:074,37926,739,23713,012,0001,000,0002,494,464
12Aug 26, 2024 13:074,38528,968,03813,029,0001,002,0002,277,376
13Aug 26, 2024 13:074,38730,127,28113,037,0001,002,0002,498,560
14Aug 26, 2024 13:074,38830,972,12113,038,0001,002,0002,494,464
15Aug 26, 2024 13:074,38931,039,46413,042,0001,003,0002,277,376
16Aug 26, 2024 13:074,39242,900,36413,051,0001,003,0002,498,560
17Aug 26, 2024 13:074,39328,651,39513,055,0001,004,0002,535,424
18Aug 26, 2024 13:074,40436,915,73713,088,0001,006,0002,277,376
19Aug 26, 2024 13:084,604100,753,85614,732,09802,236,416
20Aug 26, 2024 13:084,61466,133,64414,765,58602,232,320
21Aug 26, 2024 13:084,63181,403,93914,819,94902,375,680
22Aug 26, 2024 13:074,66194,216,29814,914,55302,240,512
23Aug 26, 2024 13:074,66872,632,21214,939,05002,244,608
24Aug 26, 2024 13:074,68790,707,32614,997,08302,240,512