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 22, 2024 13:10Huy Duc LeHuy Duc LeScore: 4,974Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:104,91532,519,16015,727,00002,289,664
2Feb 22, 2024 13:104,96235,539,23514,887,000992,0002,269,184
3Feb 22, 2024 13:104,96434,151,17513,900,0001,985,0002,289,664
4Feb 22, 2024 13:104,96446,339,31313,900,0001,985,0002,289,664
5Feb 22, 2024 13:104,97134,452,66013,918,0001,988,0002,265,088
6Feb 22, 2024 13:104,97440,129,66213,928,0001,989,0002,371,584
7Feb 22, 2024 13:104,97432,981,80913,928,0001,989,0002,265,088
8Feb 22, 2024 13:104,98132,977,85813,948,0001,992,0002,351,104
9Feb 22, 2024 13:104,98934,076,20213,969,0001,995,0002,277,376
10Feb 22, 2024 13:105,15882,120,57816,505,97102,183,168
11Feb 22, 2024 13:105,16585,751,61616,529,20002,306,048
12Feb 22, 2024 13:105,16872,783,08816,536,70202,297,856