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 listJul 28, 2024 08:58BenBenScore: 4,552Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:584,52935,355,03113,457,0001,035,0002,527,232
2Jul 28, 2024 08:584,53433,891,66214,510,00002,392,064
3Jul 28, 2024 08:584,54037,493,12513,491,0001,037,0002,387,968
4Jul 28, 2024 08:584,54230,919,86813,497,0001,038,0002,265,088
5Jul 28, 2024 08:584,54433,387,79913,504,0001,038,0002,392,064
6Jul 28, 2024 08:584,55228,732,08213,527,0001,040,0002,265,088
7Jul 28, 2024 08:584,55232,197,80814,567,00002,265,088
8Jul 28, 2024 08:584,55731,709,64913,540,0001,041,0002,392,064
9Jul 28, 2024 08:584,57946,892,38614,654,00002,392,064
10Jul 28, 2024 08:584,80281,719,94715,365,53102,244,608
11Jul 28, 2024 08:584,80696,756,53615,380,74302,277,376
12Jul 28, 2024 08:584,81076,225,46015,393,40702,289,664