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 22, 2021 23:25Vladimir KuryakovVladimir KuryakovScore: 5,692Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 23:255,64770,345,60718,069,65202,289,664
2May 22, 2021 23:255,65763,254,76618,101,11702,273,280
3May 22, 2021 23:255,67344,283,00617,146,0001,008,0002,519,040
4May 22, 2021 23:255,68070,542,13818,176,27302,285,568
5May 22, 2021 23:255,68592,562,12218,191,82402,281,472
6May 22, 2021 23:255,68546,265,83016,172,0002,021,0002,523,136
7May 22, 2021 23:255,68938,325,44416,183,0002,022,0002,519,040
8May 22, 2021 23:255,69245,442,85916,190,0002,023,0002,519,040
9May 22, 2021 23:255,69548,265,61217,213,0001,012,0002,519,040
10May 22, 2021 23:255,70143,961,06017,229,0001,013,0002,392,064
11May 22, 2021 23:255,72577,687,62818,321,26002,281,472
12May 22, 2021 23:255,73579,981,27018,353,52202,285,568
13May 22, 2021 23:255,74248,406,73517,353,0001,020,0002,506,752
14May 22, 2021 23:255,74240,689,88216,333,0002,041,0002,392,064
15May 22, 2021 23:255,75838,890,28817,402,0001,023,0002,519,040