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 24, 2023 17:08Andranik ChakiryanAndranik ChakiryanScore: 5,666Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 17:085,63248,788,68616,021,0002,002,0002,342,912
2Feb 24, 2023 17:085,63944,408,53916,040,0002,005,0002,338,816
3Feb 24, 2023 17:085,64646,059,37717,064,0001,003,0002,351,104
4Feb 24, 2023 17:085,65147,126,78316,074,0002,009,0002,342,912
5Feb 24, 2023 17:085,65334,132,96617,086,0001,005,0002,342,912
6Feb 24, 2023 17:085,66444,139,67017,118,0001,006,0002,355,200
7Feb 24, 2023 17:085,66645,319,45416,118,0002,014,0002,342,912
8Feb 24, 2023 17:085,66937,100,00017,133,0001,007,0002,351,104
9Feb 24, 2023 17:085,67237,723,30717,141,0001,008,0002,355,200
10Feb 24, 2023 17:085,77080,873,36818,463,51902,191,360
11Feb 24, 2023 17:085,79487,168,19618,542,12002,191,360
12Feb 24, 2023 17:085,79561,187,62818,543,30802,179,072