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 13, 2023 01:01gchebanovgchebanovScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2023 01:015,31737,394,80315,014,0002,001,0002,281,472
2Jul 13, 2023 01:015,33145,009,43016,055,0001,003,0002,400,256
3Jul 13, 2023 01:015,34042,854,79315,077,0002,010,0002,281,472
4Jul 13, 2023 01:015,34144,478,30115,081,0002,010,0002,404,352
5Jul 13, 2023 01:015,34639,908,45415,095,0002,012,0002,400,256
6Jul 13, 2023 01:015,34641,767,24516,102,0001,006,0002,404,352
7Jul 13, 2023 01:015,36439,933,50416,155,0001,009,0002,281,472
8Jul 13, 2023 01:015,36839,394,53216,168,0001,010,0002,400,256
9Jul 13, 2023 01:015,38437,822,75616,216,0001,013,0002,281,472
10Jul 13, 2023 01:015,54979,618,71717,758,13602,281,472
11Jul 13, 2023 01:015,56467,185,16317,803,69902,297,856
12Jul 13, 2023 01:015,58181,807,81517,858,39802,297,856