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 4, 2022 17:57Sergey StreminSergey StreminScore: 5,321Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2022 17:575,2934,040,266,53415,943,000996,0002,277,376
2Aug 4, 2022 17:575,2968,042,079,89815,951,000996,0002,273,280
3Aug 4, 2022 17:575,3034,046,386,82415,973,000998,0002,535,424
4Aug 4, 2022 17:575,3088,038,638,80714,989,0001,998,0002,273,280
5Aug 4, 2022 17:575,3091,041,520,51815,990,000999,0002,371,584
6Aug 4, 2022 17:575,3178,038,794,59316,014,0001,000,0002,277,376
7Aug 4, 2022 17:575,3218,045,408,12015,025,0002,003,0002,277,376
8Aug 4, 2022 17:575,35238,003,51415,112,0002,015,0002,289,664
9Aug 4, 2022 17:575,36140,204,50115,136,0002,018,0002,371,584
10Aug 4, 2022 17:575,5082,076,245,75317,626,66302,236,416
11Aug 4, 2022 17:575,5195,079,570,39217,661,03302,293,760
12Aug 4, 2022 17:575,5406,088,546,34817,728,78402,293,760