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 listMay 17, 2021 18:58Yuriy LyfenkoYuriy LyfenkoScore: 5,357Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 18:585,3351,027,688,85416,069,0001,004,0002,523,136
2May 17, 2021 18:585,341373,424,75116,087,0001,005,0002,265,088
3May 17, 2021 18:585,3431,022,012,08316,094,0001,005,0002,269,184
4May 17, 2021 18:585,346946,743,09117,107,00002,265,088
5May 17, 2021 18:585,3521,912,860,13417,127,00002,260,992
6May 17, 2021 18:585,3531,453,844,46916,180,000951,0002,396,160
7May 17, 2021 18:585,357567,675,71717,142,00002,527,232
8May 17, 2021 18:585,368441,989,36615,271,0001,908,0002,265,088
9May 17, 2021 18:585,384736,386,01015,315,0001,914,0002,265,088
10May 17, 2021 18:585,527927,054,60117,687,32502,277,376
11May 17, 2021 18:585,5401,624,637,59617,726,75202,277,376
12May 17, 2021 18:585,558964,611,66917,785,72502,277,376