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 3, 2024 19:39zielajzielajScore: 4,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 19:394,75831,934,03413,195,0002,030,0002,277,376
2Aug 3, 2024 19:394,75845,517,46413,195,0002,030,0002,273,280
3Aug 3, 2024 19:394,76134,642,64013,205,0002,031,0002,273,280
4Aug 3, 2024 19:394,76535,253,49313,214,0002,033,0002,277,376
5Aug 3, 2024 19:394,76635,538,62414,236,0001,016,0002,277,376
6Aug 3, 2024 19:394,77138,594,19313,231,0002,035,0002,277,376
7Aug 3, 2024 19:394,78331,518,04213,264,0002,040,0002,277,376
8Aug 3, 2024 19:394,79435,850,32114,318,0001,022,0002,371,584
9Aug 3, 2024 19:394,81033,333,61714,366,0001,026,0002,269,184
10Aug 3, 2024 19:395,05581,805,61916,176,61102,179,072
11Aug 3, 2024 19:395,06978,837,64616,222,32702,301,952
12Aug 3, 2024 19:395,07694,498,39216,242,72202,183,168