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 listAug 19, 2022 19:39Eugene ZhydzetskiEugene ZhydzetskiError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 19:3800000Error: Exit with code 2: fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x7f63f3e6c000 pc=0x5611f7f84c08] runtime stack: runtime.throw({0x5611f7f8da4d?, 0x5611f7ecf566?}) /tmp/go1.19/go/s...stderr
2Aug 19, 2022 19:3900000Error: Exit with code 2: fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x7f53abe6c000 pc=0x556b02250c08] runtime stack: runtime.throw({0x556b02259a4d?, 0x556b0219b566?}) /tmp/go1.19/go/s...stderr
3Aug 19, 2022 19:3914,718117,682,96747,099,17502,252,800
4Aug 19, 2022 19:3914,720108,502,69747,104,86602,244,608
5Aug 19, 2022 19:3914,721109,927,60047,107,23102,244,608