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 3, 2023 21:38Hal FHal FScore: 4,749Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:384,71535,790,71913,077,0002,011,0002,277,376
2Jan 3, 2023 21:384,71829,874,71613,085,0002,013,0002,285,568
3Jan 3, 2023 21:384,72239,186,02813,095,0002,014,0002,289,664
4Jan 3, 2023 21:384,72631,162,41013,107,0002,016,0002,269,184
5Jan 3, 2023 21:384,74131,049,85813,148,0002,022,0002,277,376
6Jan 3, 2023 21:384,74143,462,74813,148,0002,022,0002,289,664
7Jan 3, 2023 21:384,74936,465,86913,172,0002,026,0002,289,664
8Jan 3, 2023 21:384,75732,732,23613,194,0002,029,0002,289,664
9Jan 3, 2023 21:384,76436,933,08214,229,0001,016,0002,289,664
10Jan 3, 2023 21:384,94788,190,27915,831,05902,174,976
11Jan 3, 2023 21:384,96681,183,26015,890,87602,293,760
12Jan 3, 2023 21:384,99581,906,76815,982,79502,183,168