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 15, 2021 22:00Yuriy LyfenkoYuriy LyfenkoScore: 5,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:005,44248,896,58216,391,0001,024,0002,260,992
2May 15, 2021 22:005,45045,088,99917,441,00002,400,256
3May 15, 2021 22:005,45238,796,65117,447,00002,523,136
4May 15, 2021 22:005,45542,205,81016,429,0001,026,0002,383,872
5May 15, 2021 22:005,45933,542,13417,470,00002,396,160
6May 15, 2021 22:005,46139,143,14716,448,0001,028,0002,523,136
7May 15, 2021 22:005,47738,431,23617,525,00002,387,968
8May 15, 2021 22:005,48032,352,57216,506,0001,031,0002,523,136
9May 15, 2021 22:005,59044,190,76415,902,0001,987,0002,523,136
10May 15, 2021 22:006,09788,535,75719,508,87002,273,280
11May 15, 2021 22:006,09883,863,77619,513,32902,277,376
12May 15, 2021 22:006,15488,376,42319,691,56602,269,184