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 22:52Yuriy LyfenkoYuriy LyfenkoScore: 5,155Success
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 22:525,08336,169,73815,248,0001,016,0002,265,088
2May 23, 2021 22:525,11836,168,67615,356,0001,023,0002,387,968
3May 23, 2021 22:525,11942,985,23415,357,0001,023,0002,392,064
4May 23, 2021 22:525,13532,830,43915,406,0001,027,0002,510,848
5May 23, 2021 22:525,13732,760,19515,411,0001,027,0002,392,064
6May 23, 2021 22:525,14633,114,39216,466,00002,510,848
7May 23, 2021 22:525,15542,387,49316,497,00002,392,064
8May 23, 2021 22:525,16237,382,02615,486,0001,032,0002,265,088
9May 23, 2021 22:525,16640,542,81816,531,00002,265,088
10May 23, 2021 22:525,33387,208,61017,064,47602,281,472
11May 23, 2021 22:525,34077,006,98217,087,90402,281,472
12May 23, 2021 22:525,36274,791,39017,159,04702,277,376