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:12vahookvahookScore: 4,401Success
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:094,33632,827,77013,875,00002,277,376
2Aug 26, 2024 13:094,33636,467,70912,883,000991,0002,482,176
3Aug 26, 2024 13:094,33731,045,00712,888,000991,0002,277,376
4Aug 26, 2024 13:094,33732,243,57613,878,00002,502,656
5Aug 26, 2024 13:094,33836,639,22013,881,00002,498,560
6Aug 26, 2024 13:094,33833,907,43812,889,000991,0002,535,424
7Aug 26, 2024 13:094,34039,680,39913,889,00002,277,376
8Aug 26, 2024 13:094,34639,678,25912,915,000993,0002,277,376
9Aug 26, 2024 13:094,34731,793,86512,917,000993,0002,273,280
10Aug 26, 2024 13:124,37830,592,95213,008,0001,000,0002,494,464
11Aug 26, 2024 13:124,38835,395,81913,040,0001,003,0002,277,376
12Aug 26, 2024 13:124,39537,040,05913,059,0001,004,0002,277,376
13Aug 26, 2024 13:124,40131,960,76413,078,0001,006,0002,498,560
14Aug 26, 2024 13:124,40235,012,43413,080,0001,006,0002,494,464
15Aug 26, 2024 13:124,41133,967,51813,107,0001,008,0002,502,656
16Aug 26, 2024 13:124,41831,285,13213,129,0001,009,0002,277,376
17Aug 26, 2024 13:124,42228,378,97712,130,0002,021,0002,277,376
18Aug 26, 2024 13:124,42936,410,40613,160,0001,012,0002,277,376
19Aug 26, 2024 13:094,61077,815,59314,752,69302,371,584
20Aug 26, 2024 13:094,61379,323,78114,761,01202,375,680
21Aug 26, 2024 13:094,61679,622,18514,770,75202,371,584
22Aug 26, 2024 13:124,68079,547,92214,976,55702,240,512
23Aug 26, 2024 13:124,69265,136,92315,012,92702,244,608
24Aug 26, 2024 13:124,70792,261,26015,062,34202,252,800