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 listJan 2, 2023 16:47Jack FrigaardJack FrigaardScore: 4,959Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:474,88848,373,89914,598,0001,042,0002,285,568
2Jan 2, 2023 16:474,89033,418,96214,605,0001,043,0002,285,568
3Jan 2, 2023 16:474,89943,574,44015,676,00002,285,568
4Jan 2, 2023 16:474,90832,969,90514,660,0001,047,0002,277,376
5Jan 2, 2023 16:474,91432,969,12315,724,00002,285,568
6Jan 2, 2023 16:474,95538,411,89813,875,0001,982,0002,273,280
7Jan 2, 2023 16:474,95936,540,25213,885,0001,983,0002,273,280
8Jan 2, 2023 16:474,96135,165,27314,882,000992,0002,273,280
9Jan 2, 2023 16:474,96342,762,72613,897,0001,985,0002,285,568
10Jan 2, 2023 16:475,15595,955,65816,497,15702,293,760
11Jan 2, 2023 16:475,19262,970,92416,614,03602,289,664
12Jan 2, 2023 16:475,20172,620,06716,643,88402,301,952