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 listFeb 25, 2023 23:11Andranik ChakiryanAndranik ChakiryanScore: 5,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 23:115,61142,832,80814,964,0002,992,0002,342,912
2Feb 25, 2023 23:115,61835,280,42614,980,0002,996,0002,338,816
3Feb 25, 2023 23:115,62034,587,30016,985,000999,0002,359,296
4Feb 25, 2023 23:115,64346,272,02516,050,0002,006,0002,363,392
5Feb 25, 2023 23:115,64549,615,57816,057,0002,007,0002,342,912
6Feb 25, 2023 23:115,66349,946,87616,107,0002,013,0002,355,200
7Feb 25, 2023 23:115,66851,433,06716,122,0002,015,0002,363,392
8Feb 25, 2023 23:115,67844,979,92115,140,0003,028,0002,342,912
9Feb 25, 2023 23:115,68342,493,53817,174,0001,010,0002,342,912
10Feb 25, 2023 23:115,79096,375,96618,526,49102,183,168
11Feb 25, 2023 23:115,80188,498,74218,563,36002,187,264
12Feb 25, 2023 23:115,84278,133,48918,693,38602,179,072