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 26, 2021 22:09Alexander KimAlexander KimScore: 5,707Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2021 22:095,67347,896,59716,137,0002,017,0002,306,048
2Dec 26, 2021 22:095,68138,152,44316,160,0002,020,0002,301,952
3Dec 26, 2021 22:095,68742,192,98816,177,0002,022,0002,310,144
4Dec 26, 2021 22:095,69040,899,03517,198,0001,011,0002,334,720
5Dec 26, 2021 22:095,69438,171,53217,208,0001,012,0002,334,720
6Dec 26, 2021 22:095,69846,604,71617,221,0001,013,0002,301,952
7Dec 26, 2021 22:095,70741,972,96017,247,0001,014,0002,310,144
8Dec 26, 2021 22:095,71441,216,92217,271,0001,015,0002,334,720
9Dec 26, 2021 22:095,73895,763,28118,362,24002,273,280
10Dec 26, 2021 22:095,74096,208,39618,367,81602,269,184
11Dec 26, 2021 22:095,75834,026,91316,377,0002,047,0002,334,720
12Dec 26, 2021 22:095,76882,666,77418,456,74802,273,280