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 13, 2021 19:43alex3dalex3dScore: 5,190Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:435,16936,238,87215,508,0001,033,0002,273,280
2May 13, 2021 19:435,17039,710,36715,510,0001,034,0002,273,280
3May 13, 2021 19:435,17736,461,51515,531,0001,035,0002,441,216
4May 13, 2021 19:435,17828,878,83215,536,0001,035,0002,437,120
5May 13, 2021 19:435,18037,678,99415,540,0001,036,0002,535,424
6May 13, 2021 19:435,18834,718,62915,563,0001,037,0002,441,216
7May 13, 2021 19:435,19038,262,69715,571,0001,038,0002,441,216
8May 13, 2021 19:435,19742,613,14715,590,0001,039,0002,273,280
9May 13, 2021 19:435,20737,562,47615,682,000980,0002,449,408
10May 13, 2021 19:435,39273,719,41517,254,92702,211,840
11May 13, 2021 19:435,41075,193,12217,313,30002,195,456
12May 13, 2021 19:435,42286,862,71617,349,87402,195,456