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 27, 2021 19:03Yuriy LyfenkoYuriy LyfenkoScore: 5,096Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:035,05446,505,52315,162,0001,010,0002,265,088
2May 27, 2021 19:035,05641,446,74015,167,0001,011,0002,265,088
3May 27, 2021 19:035,05643,672,75814,158,0002,022,0002,387,968
4May 27, 2021 19:035,06236,771,25914,174,0002,024,0002,527,232
5May 27, 2021 19:035,07030,819,09515,211,0001,014,0002,510,848
6May 27, 2021 19:035,08342,714,50515,251,0001,016,0002,265,088
7May 27, 2021 19:035,09642,583,12015,287,0001,019,0002,523,136
8May 27, 2021 19:035,09631,652,46815,289,0001,019,0002,265,088
9May 27, 2021 19:035,10532,700,52615,316,0001,021,0002,265,088
10May 27, 2021 19:035,24542,214,71416,783,01502,273,280
11May 27, 2021 19:035,25291,882,99616,805,32302,273,280
12May 27, 2021 19:035,30642,927,09616,977,93502,277,376