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 15, 2021 19:48alex3dalex3dScore: 6,201Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:486,11737,467,83519,574,00002,326,528
2May 15, 2021 19:486,12444,526,92719,596,00002,326,528
3May 15, 2021 19:486,13548,016,28617,567,0002,066,0002,322,432
4May 15, 2021 19:486,14940,113,34218,642,0001,035,0002,326,528
5May 15, 2021 19:486,15148,060,02818,647,0001,035,0002,531,328
6May 15, 2021 19:486,15949,307,29117,636,0002,074,0002,326,528
7May 15, 2021 19:486,20174,571,02719,843,61002,244,608
8May 15, 2021 19:486,21042,600,69419,873,00002,326,528
9May 15, 2021 19:486,21247,579,71516,897,0002,981,0002,326,528
10May 15, 2021 19:486,21336,735,90319,881,00002,326,528
11May 15, 2021 19:486,21776,082,40019,894,39202,232,320
12May 15, 2021 19:486,30781,521,66320,180,88502,232,320