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 11, 2024 17:57vahookvahookScore: 4,823Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 17:574,79542,488,68613,299,0002,046,0002,273,280
2Aug 11, 2024 17:574,79638,454,41513,301,0002,046,0002,293,760
3Aug 11, 2024 17:574,79739,398,14113,303,0002,046,0002,293,760
4Aug 11, 2024 17:574,81035,307,75814,367,0001,026,0002,265,088
5Aug 11, 2024 17:574,81144,932,07513,343,0002,052,0002,293,760
6Aug 11, 2024 17:574,82331,351,24414,404,0001,028,0002,277,376
7Aug 11, 2024 17:574,82333,699,83214,406,0001,029,0002,387,968
8Aug 11, 2024 17:574,83737,060,18914,446,0001,031,0002,293,760
9Aug 11, 2024 17:574,83734,219,31214,447,0001,031,0002,293,760
10Aug 11, 2024 17:575,05486,021,51716,172,93202,183,168
11Aug 11, 2024 17:575,05893,106,85716,185,31402,179,072
12Aug 11, 2024 17:575,08488,974,84516,269,29102,187,264