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 20, 2022 23:50Franek KortaFranek KortaScore: 5,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:505,57535,712,96416,850,000991,0002,531,328
2Aug 20, 2022 23:505,58440,799,33316,876,000992,0002,445,312
3Aug 20, 2022 23:505,58533,998,03615,887,0001,985,0002,445,312
4Aug 20, 2022 23:505,58543,199,26515,887,0001,985,0002,531,328
5Aug 20, 2022 23:505,58745,903,47717,878,00002,265,088
6Aug 20, 2022 23:505,58835,307,57117,880,00002,531,328
7Aug 20, 2022 23:505,59242,409,85216,901,000994,0002,441,216
8Aug 20, 2022 23:505,59639,662,07916,913,000994,0002,531,328
9Aug 20, 2022 23:505,59841,226,19315,922,0001,990,0002,453,504
10Aug 20, 2022 23:505,81168,551,10518,595,82502,199,552
11Aug 20, 2022 23:505,84595,893,47918,704,04702,199,552
12Aug 20, 2022 23:505,850105,759,34518,721,29102,199,552