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:49zielajzielajScore: 4,856Success
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:494,79935,984,00713,310,0002,047,0002,265,088
2Aug 3, 2024 19:494,80334,801,83615,369,00002,387,968
3Aug 3, 2024 19:494,81333,677,16614,375,0001,026,0002,277,376
4Aug 3, 2024 19:494,81344,693,40514,377,0001,026,0002,277,376
5Aug 3, 2024 19:494,82532,068,95414,411,0001,029,0002,375,680
6Aug 3, 2024 19:494,85035,764,98015,519,00002,273,280
7Aug 3, 2024 19:494,85631,446,24913,468,0002,072,0002,269,184
8Aug 3, 2024 19:494,86439,440,62814,528,0001,037,0002,277,376
9Aug 3, 2024 19:494,89242,687,60014,612,0001,043,0002,277,376
10Aug 3, 2024 19:495,16764,364,91516,535,53102,183,168
11Aug 3, 2024 19:495,18963,346,66616,606,37002,301,952
12Aug 3, 2024 19:495,19584,301,02616,623,59202,301,952