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 listDec 19, 2023 04:31Kenneth MaplesKenneth MaplesScore: 5,071Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 19, 2023 04:315,02443,565,66715,073,0001,004,0002,387,968
2Dec 19, 2023 04:315,02740,265,17714,076,0002,010,0002,387,968
3Dec 19, 2023 04:315,02939,954,23614,082,0002,011,0002,396,160
4Dec 19, 2023 04:315,03934,145,89415,119,0001,007,0002,387,968
5Dec 19, 2023 04:315,06143,831,60114,170,0002,024,0002,396,160
6Dec 19, 2023 04:315,06836,175,47214,192,0002,027,0002,265,088
7Dec 19, 2023 04:315,07134,348,31714,199,0002,028,0002,265,088
8Dec 19, 2023 04:315,08737,501,44714,243,0002,034,0002,265,088
9Dec 19, 2023 04:315,09345,064,53515,281,0001,018,0002,392,064
10Dec 19, 2023 04:315,23493,820,16716,749,43702,269,184
11Dec 19, 2023 04:315,25777,020,78516,822,83002,269,184
12Dec 19, 2023 04:315,27981,486,26616,893,42002,265,088