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 03:36Chris ScarboroughChris ScarboroughScore: 5,375Success
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 03:365,33643,287,43716,070,0001,004,0002,392,064
2Jul 28, 2024 03:365,33735,535,60115,068,0002,009,0002,265,088
3Jul 28, 2024 03:365,35846,078,69316,139,0001,008,0002,265,088
4Jul 28, 2024 03:365,36040,457,76715,135,0002,018,0002,265,088
5Jul 28, 2024 03:365,36438,508,05915,146,0002,019,0002,265,088
6Jul 28, 2024 03:365,36434,424,54716,157,0001,009,0002,506,752
7Jul 28, 2024 03:365,37548,685,50016,188,0001,011,0002,265,088
8Jul 28, 2024 03:365,37742,696,09216,195,0001,012,0002,265,088
9Jul 28, 2024 03:365,42548,226,08615,317,0002,042,0002,265,088
10Jul 28, 2024 03:365,59068,089,07117,887,45302,273,280
11Jul 28, 2024 03:365,61178,941,46617,955,69002,293,760
12Jul 28, 2024 03:365,61989,346,42117,981,70002,285,568