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:03Yuriy LyfenkoYuriy LyfenkoScore: 5,033Success
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:034,999540,420,36313,997,0001,999,0002,273,280
2Jun 3, 2021 16:035,005544,754,12915,016,0001,001,0002,273,280
3Jun 3, 2021 16:035,019539,264,44215,058,0001,003,0002,273,280
4Jun 3, 2021 16:035,022539,697,48615,067,0001,004,0002,404,352
5Jun 3, 2021 16:035,024538,768,20715,073,0001,004,0002,273,280
6Jun 3, 2021 16:035,030541,025,81314,085,0002,012,0002,273,280
7Jun 3, 2021 16:035,033537,215,91915,100,0001,006,0002,273,280
8Jun 3, 2021 16:035,064542,172,72815,192,0001,012,0002,273,280
9Jun 3, 2021 16:035,072548,127,52915,215,0001,014,0002,281,472
10Jun 3, 2021 16:035,156570,664,55716,500,54902,289,664
11Jun 3, 2021 16:035,188587,696,99016,601,53302,256,896
12Jun 3, 2021 16:035,191593,207,73516,610,49402,293,760