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 listOct 6, 2023 07:16Pavel ZagrebinPavel ZagrebinScore: 5,370Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2023 07:165,33234,356,73215,056,0002,007,0002,527,232
2Oct 6, 2023 07:165,33447,137,57415,061,0002,008,0002,396,160
3Oct 6, 2023 07:165,33742,007,57516,073,0001,004,0002,392,064
4Oct 6, 2023 07:165,34045,835,81115,078,0002,010,0002,265,088
5Oct 6, 2023 07:165,35044,470,39116,114,0001,007,0002,265,088
6Oct 6, 2023 07:165,36241,950,07216,149,0001,009,0002,392,064
7Oct 6, 2023 07:165,37033,140,00916,175,0001,010,0002,392,064
8Oct 6, 2023 07:165,39543,418,40315,234,0002,031,0002,392,064
9Oct 6, 2023 07:165,41638,426,02515,293,0002,039,0002,396,160
10Oct 6, 2023 07:165,54278,423,03317,733,34702,281,472
11Oct 6, 2023 07:165,56984,565,41917,821,06002,277,376
12Oct 6, 2023 07:165,57992,185,57617,851,31602,281,472