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 listJun 29, 2021 20:09Egor SergeevEgor SergeevScore: 5,143Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 20:095,12741,308,15916,405,00002,277,376
2Jun 29, 2021 20:095,13036,035,03716,415,00002,494,464
3Jun 29, 2021 20:095,13737,268,46616,439,00002,277,376
4Jun 29, 2021 20:095,13832,152,87316,440,00002,277,376
5Jun 29, 2021 20:095,13833,208,39216,441,00002,269,184
6Jun 29, 2021 20:095,14236,022,75216,454,00002,490,368
7Jun 29, 2021 20:095,14338,635,70215,431,0001,028,0002,502,656
8Jun 29, 2021 20:095,14345,351,03916,459,00002,498,560
9Jun 29, 2021 20:095,15236,112,80316,486,00002,277,376
10Jun 29, 2021 20:095,39869,366,72617,273,97202,244,608
11Jun 29, 2021 20:095,40070,516,18917,281,57502,256,896
12Jun 29, 2021 20:095,43678,919,19317,393,75802,236,416