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 listFeb 15, 2023 00:19LiamLiamScore: 5,615Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 15, 2023 00:195,57947,671,45515,870,0001,983,0002,285,568
2Feb 15, 2023 00:195,58334,481,33113,897,0003,970,0002,281,472
3Feb 15, 2023 00:195,58945,021,26114,905,0002,981,0002,285,568
4Feb 15, 2023 00:195,58934,927,70214,905,0002,981,0002,285,568
5Feb 15, 2023 00:195,59742,514,07115,920,0001,990,0002,285,568
6Feb 15, 2023 00:195,60133,946,12516,929,000995,0002,285,568
7Feb 15, 2023 00:195,61540,404,01315,971,0001,996,0002,281,472
8Feb 15, 2023 00:195,61645,340,12615,975,0001,996,0002,285,568
9Feb 15, 2023 00:195,62243,725,73814,992,0002,998,0002,281,472
10Feb 15, 2023 00:195,74980,207,08518,397,93202,174,976
11Feb 15, 2023 00:195,75998,312,24818,427,80802,297,856
12Feb 15, 2023 00:195,78473,525,98618,509,31902,301,952