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 22:15Andranik ChakiryanAndranik ChakiryanScore: 5,632Success
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 22:155,59845,398,48016,862,0001,053,0002,355,200
2Feb 25, 2023 22:155,60944,943,73415,954,0001,994,0002,338,816
3Feb 25, 2023 22:155,61543,793,86515,973,0001,996,0002,342,912
4Feb 25, 2023 22:155,62649,815,82917,003,0001,000,0002,355,200
5Feb 25, 2023 22:155,63195,053,22318,019,53502,183,168
6Feb 25, 2023 22:155,63142,770,65816,017,0002,002,0002,342,912
7Feb 25, 2023 22:155,63244,058,78617,022,0001,001,0002,359,296
8Feb 25, 2023 22:155,63749,436,21516,033,0002,004,0002,359,296
9Feb 25, 2023 22:155,64645,523,48516,059,0002,007,0002,359,296
10Feb 25, 2023 22:155,65271,714,26418,086,18202,183,168
11Feb 25, 2023 22:155,66252,926,31617,111,0001,006,0002,355,200
12Feb 25, 2023 22:155,77279,279,85818,471,30002,191,360