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 3, 2021 16:09Yuriy LyfenkoYuriy LyfenkoScore: 5,086Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:095,041541,494,31014,115,0002,016,0002,400,256
2Jun 3, 2021 16:095,043538,377,07915,131,0001,008,0002,273,280
3Jun 3, 2021 16:095,062539,241,98415,187,0001,012,0002,273,280
4Jun 3, 2021 16:095,064542,574,53315,194,0001,012,0002,273,280
5Jun 3, 2021 16:095,074541,032,74216,237,00002,281,472
6Jun 3, 2021 16:095,077544,376,95614,216,0002,030,0002,273,280
7Jun 3, 2021 16:095,086539,127,07115,259,0001,017,0002,281,472
8Jun 3, 2021 16:095,090543,165,23316,289,00002,281,472
9Jun 3, 2021 16:095,107545,975,61215,320,0001,021,0002,273,280
10Jun 3, 2021 16:095,178572,331,24616,570,98602,293,760
11Jun 3, 2021 16:095,181577,231,30316,579,07602,289,664
12Jun 3, 2021 16:095,217576,955,46516,693,78302,252,800