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 listMay 23, 2021 13:22Vladimir KuryakovVladimir KuryakovScore: 5,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 13:225,66142,341,21917,108,0001,006,0002,392,064
2May 23, 2021 13:225,67482,408,40618,157,82302,281,472
3May 23, 2021 13:225,68250,157,09117,173,0001,010,0002,392,064
4May 23, 2021 13:225,68642,269,39717,184,0001,010,0002,383,872
5May 23, 2021 13:225,69283,334,07718,212,92002,285,568
6May 23, 2021 13:225,69243,940,55416,191,0002,023,0002,383,872
7May 23, 2021 13:225,70843,046,72616,237,0002,029,0002,519,040
8May 23, 2021 13:225,71744,291,98917,277,0001,016,0002,506,752
9May 23, 2021 13:225,72642,351,57417,305,0001,017,0002,387,968
10May 23, 2021 13:225,72781,784,91518,325,61902,285,568
11May 23, 2021 13:225,73051,015,32615,281,0003,056,0002,519,040
12May 23, 2021 13:225,73141,400,65117,320,0001,018,0002,519,040