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 13, 2024 08:21matsuoka-601matsuoka-601Score: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 08:215,53642,734,79516,674,0001,042,0002,289,664
2Jan 13, 2024 08:215,54043,372,00216,686,0001,042,0002,265,088
3Jan 13, 2024 08:215,57648,157,68917,844,00002,289,664
4Jan 13, 2024 08:215,57746,826,97416,854,000991,0002,289,664
5Jan 13, 2024 08:215,57846,160,31215,865,0001,983,0002,289,664
6Jan 13, 2024 08:215,58238,187,81015,877,0001,984,0002,269,184
7Jan 13, 2024 08:215,58453,490,58116,878,000992,0002,289,664
8Jan 13, 2024 08:215,58946,072,87115,897,0001,987,0002,269,184
9Jan 13, 2024 08:215,60444,263,64115,941,0001,992,0002,289,664
10Jan 13, 2024 08:215,64096,382,08918,046,48302,174,976
11Jan 13, 2024 08:215,65762,741,21318,103,88402,174,976
12Jan 13, 2024 08:215,66566,616,71218,127,60102,174,976