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 listJul 19, 2024 10:04Matt StuchlikMatt StuchlikScore: 5,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:045,41133,783,04115,277,0002,037,0002,293,760
2Jul 19, 2024 10:045,42535,357,72415,319,0002,042,0002,371,584
3Jul 19, 2024 10:045,43337,088,88816,364,0001,022,0002,273,280
4Jul 19, 2024 10:045,44244,457,74416,389,0001,024,0002,265,088
5Jul 19, 2024 10:045,44841,077,05916,408,0001,025,0002,371,584
6Jul 19, 2024 10:045,46147,791,66216,447,0001,027,0002,273,280
7Jul 19, 2024 10:045,46238,538,36116,450,0001,028,0002,523,136
8Jul 19, 2024 10:045,46340,731,40716,453,0001,028,0002,289,664
9Jul 19, 2024 10:045,47640,311,45316,493,0001,030,0002,367,488
10Jul 19, 2024 10:045,66084,518,19418,111,45302,297,856
11Jul 19, 2024 10:045,68659,380,85018,194,57802,301,952
12Jul 19, 2024 10:045,768109,917,02418,458,32402,293,760