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 listNov 10, 2024 10:46Viktor SuprunViktor SuprunScore: 67,759Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 10:4667,683240,682,160216,587,00002,330,624
2Nov 10, 2024 10:5067,695240,494,040215,623,0001,002,0002,330,624
3Nov 10, 2024 10:5067,715247,415,093215,684,0001,003,0002,514,944
4Nov 10, 2024 10:4667,737242,625,118215,761,000998,0002,334,720
5Nov 10, 2024 10:4667,742245,608,996215,777,000998,0002,330,624
6Nov 10, 2024 10:4667,747244,409,085215,790,000999,0002,330,624
7Nov 10, 2024 10:5067,748244,188,429214,796,0001,998,0002,318,336
8Nov 10, 2024 10:5067,750248,000,220215,800,000999,0002,506,752
9Nov 10, 2024 10:4667,759245,676,661215,827,0001,003,0002,330,624
10Nov 10, 2024 10:5067,759241,572,199214,830,0001,998,0002,330,624
11Nov 10, 2024 10:5067,760248,933,016214,834,0001,998,0002,494,464
12Nov 10, 2024 10:4667,781243,482,552215,900,000999,0002,330,624
13Nov 10, 2024 10:5067,821242,106,156215,027,0002,000,0002,330,624
14Nov 10, 2024 10:5067,824246,190,949216,037,0001,000,0002,330,624
15Nov 10, 2024 10:4667,826249,457,809215,044,0002,000,0002,330,624
16Nov 10, 2024 10:4667,827241,693,599215,046,0002,000,0002,330,624
17Nov 10, 2024 10:5067,842243,705,100214,093,0003,001,0002,502,656
18Nov 10, 2024 10:4667,861242,726,761215,153,0002,001,0002,330,624