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 2, 2021 19:00Yuriy 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 2, 2021 19:004,997540,234,71913,992,0001,998,0002,273,280
2Jun 2, 2021 19:005,003537,635,06614,009,0002,001,0002,281,472
3Jun 2, 2021 19:005,008546,511,65214,024,0002,003,0002,273,280
4Jun 2, 2021 19:005,011540,151,25215,034,0001,002,0002,273,280
5Jun 2, 2021 19:005,013539,737,17714,038,0002,005,0002,273,280
6Jun 2, 2021 19:005,015538,381,01915,046,0001,003,0002,273,280
7Jun 2, 2021 19:005,033538,624,07814,094,0002,013,0002,281,472
8Jun 2, 2021 19:005,051545,619,21115,152,0001,010,0002,273,280
9Jun 2, 2021 19:005,081543,283,48214,226,0002,032,0002,273,280
10Jun 2, 2021 19:005,153568,684,10016,490,68502,256,896
11Jun 2, 2021 19:005,169576,905,56816,539,28802,285,568
12Jun 2, 2021 19:005,184583,753,70016,587,45802,293,760