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 21:33Vladimir KuryakovVladimir KuryakovScore: 5,736Success
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 21:335,67934,376,49116,155,0002,019,0002,285,568
2May 23, 2021 21:335,68341,038,93716,165,0002,020,0002,519,040
3May 23, 2021 21:335,70349,134,97616,223,0002,027,0002,519,040
4May 23, 2021 21:335,71241,510,84117,262,0001,015,0002,260,992
5May 23, 2021 21:335,71850,439,36617,283,0001,016,0002,392,064
6May 23, 2021 21:335,72045,468,31917,287,0001,016,0002,392,064
7May 23, 2021 21:335,73639,865,41316,316,0002,039,0002,519,040
8May 23, 2021 21:335,74132,859,98917,352,0001,020,0002,392,064
9May 23, 2021 21:335,75440,108,56617,390,0001,022,0002,519,040
10May 23, 2021 21:335,79157,265,21118,529,95002,277,376
11May 23, 2021 21:335,85789,424,28518,743,58102,273,280
12May 23, 2021 21:335,90986,084,20718,908,53202,281,472