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 9, 2024 19:45джулисджулисScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:455,26840,379,09414,875,0001,983,0002,293,760
2Jun 9, 2024 19:455,26943,101,21115,870,000991,0002,293,760
3Jun 9, 2024 19:455,27142,464,81215,874,000992,0002,293,760
4Jun 9, 2024 19:455,27148,057,13814,884,0001,984,0002,293,760
5Jun 9, 2024 19:455,27238,727,84415,877,000992,0002,371,584
6Jun 9, 2024 19:455,27445,992,89816,876,00002,375,680
7Jun 9, 2024 19:455,27646,733,03314,896,0001,986,0002,293,760
8Jun 9, 2024 19:455,27742,414,91816,886,00002,375,680
9Jun 9, 2024 19:455,28451,076,38714,919,0001,989,0002,293,760
10Jun 9, 2024 19:455,52688,114,45717,683,93802,244,608
11Jun 9, 2024 19:455,54086,320,86417,727,08802,236,416
12Jun 9, 2024 19:455,67096,310,55318,144,05902,252,800