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 28, 2024 13:22BenBenScore: 4,736Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 13:224,71938,202,83314,095,0001,006,0002,519,040
2Jul 28, 2024 13:224,72434,311,72214,109,0001,007,0002,519,040
3Jul 28, 2024 13:224,72439,319,15513,101,0002,015,0002,519,040
4Jul 28, 2024 13:224,73043,580,96114,126,0001,009,0002,519,040
5Jul 28, 2024 13:224,73031,523,46113,119,0002,018,0002,375,680
6Jul 28, 2024 13:224,73331,204,54612,116,0003,029,0002,519,040
7Jul 28, 2024 13:224,73643,327,86314,144,0001,010,0002,519,040
8Jul 28, 2024 13:224,74039,454,32814,158,0001,011,0002,367,488
9Jul 28, 2024 13:224,76530,905,60113,216,0002,033,0002,375,680
10Jul 28, 2024 13:224,98595,116,47215,952,43802,273,280
11Jul 28, 2024 13:225,00088,475,77115,998,87102,285,568
12Jul 28, 2024 13:225,00579,534,53016,016,06902,289,664