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 listJun 2, 2021 13:44Mikhail DektyarevMikhail DektyarevScore: 4,657Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 13:444,64731,141,44012,888,0001,982,0002,281,472
2Jun 2, 2021 13:444,65135,339,70312,898,0001,984,0002,273,280
3Jun 2, 2021 13:444,65244,135,35712,902,0001,984,0002,281,472
4Jun 2, 2021 13:444,65235,203,64612,902,0001,985,0002,387,968
5Jun 2, 2021 13:444,65444,243,61113,830,0001,063,0002,281,472
6Jun 2, 2021 13:444,65536,146,89112,909,0001,986,0002,281,472
7Jun 2, 2021 13:444,65734,835,92114,903,00002,281,472
8Jun 2, 2021 13:444,67536,021,06812,967,0001,994,0002,281,472
9Jun 2, 2021 13:444,67931,533,28512,978,0001,996,0002,392,064
10Jun 2, 2021 13:444,863102,461,28715,561,30802,273,280
11Jun 2, 2021 13:444,87582,615,91115,600,19602,285,568
12Jun 2, 2021 13:444,87781,283,57615,607,25102,277,376