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 listApr 1, 2024 13:17Drew GarciaDrew GarciaScore: 5,639Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 13:175,60647,883,27515,947,0001,993,0002,281,472
2Apr 1, 2024 13:175,61147,767,07614,962,0002,992,0002,281,472
3Apr 1, 2024 13:175,61243,346,32315,963,0001,995,0002,289,664
4Apr 1, 2024 13:175,63137,493,57316,017,0002,002,0002,281,472
5Apr 1, 2024 13:175,63847,520,99616,038,0002,004,0002,281,472
6Apr 1, 2024 13:175,63948,229,39315,038,0003,007,0002,281,472
7Apr 1, 2024 13:175,63947,751,42715,039,0003,007,0002,269,184
8Apr 1, 2024 13:175,65236,696,58216,077,0002,009,0002,281,472
9Apr 1, 2024 13:175,65436,095,86515,078,0003,015,0002,281,472
10Apr 1, 2024 13:175,95784,733,36519,062,75302,179,072
11Apr 1, 2024 13:175,96796,021,66519,095,43202,179,072
12Apr 1, 2024 13:175,98274,432,89819,141,09302,306,048