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 12:54vahookvahookScore: 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 12:544,33527,012,25412,881,000990,0002,535,424
2Aug 26, 2024 12:544,33629,548,88512,885,000991,0002,486,272
3Aug 26, 2024 12:544,33627,056,86812,884,000991,0002,498,560
4Aug 26, 2024 12:544,33830,011,79512,889,000991,0002,498,560
5Aug 26, 2024 12:544,33940,714,10212,893,000991,0002,277,376
6Aug 26, 2024 12:544,34532,812,22512,911,000993,0002,535,424
7Aug 26, 2024 12:544,34630,270,20212,915,000993,0002,535,424
8Aug 26, 2024 12:544,34938,171,91012,924,000994,0002,277,376
9Aug 26, 2024 12:544,36533,919,57011,972,0001,995,0002,498,560
10Aug 26, 2024 12:544,37229,982,57212,992,000999,0002,498,560
11Aug 26, 2024 12:544,38433,281,19413,026,0001,002,0002,277,376
12Aug 26, 2024 12:544,38535,014,09613,031,0001,002,0002,273,280
13Aug 26, 2024 12:544,38738,667,58213,037,0001,002,0002,498,560
14Aug 26, 2024 12:544,38830,667,40613,039,0001,003,0002,502,656
15Aug 26, 2024 12:544,39331,192,78813,053,0001,004,0002,482,176
16Aug 26, 2024 12:544,39834,550,75413,069,0001,005,0002,490,368
17Aug 26, 2024 12:544,39836,024,02313,070,0001,005,0002,498,560
18Aug 26, 2024 12:544,41132,325,90013,108,0001,008,0002,277,376
19Aug 26, 2024 12:544,59183,581,45314,690,34702,363,392
20Aug 26, 2024 12:544,60058,791,72114,720,58202,232,320
21Aug 26, 2024 12:544,61381,160,35014,762,54902,371,584
22Aug 26, 2024 12:544,66485,078,57614,924,46402,379,776
23Aug 26, 2024 12:544,66587,484,11614,928,86002,244,608
24Aug 26, 2024 12:544,668115,638,18414,937,35302,240,512