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 29, 2021 15:15Yuriy LyfenkoYuriy LyfenkoScore: 5,036Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 15:155,00540,514,96014,015,0002,002,0002,281,472
2May 29, 2021 15:165,00734,338,99215,021,0001,001,0002,404,352
3May 29, 2021 15:155,01138,389,02214,031,0002,004,0002,404,352
4May 29, 2021 15:155,01151,516,91714,032,0002,004,0002,396,160
5May 29, 2021 15:155,01338,933,20015,041,0001,002,0002,404,352
6May 29, 2021 15:165,01733,022,88115,052,0001,003,0002,408,448
7May 29, 2021 15:165,01732,232,39515,051,0001,003,0002,396,160
8May 29, 2021 15:165,02639,666,77015,077,0001,005,0002,281,472
9May 29, 2021 15:165,03035,670,93415,091,0001,006,0002,519,040
10May 29, 2021 15:155,03237,477,20014,090,0002,012,0002,400,256
11May 29, 2021 15:165,03344,124,06215,100,0001,006,0002,281,472
12May 29, 2021 15:165,03637,388,93215,108,0001,007,0002,281,472
13May 29, 2021 15:155,03639,303,38115,108,0001,007,0002,281,472
14May 29, 2021 15:155,04132,173,33114,115,0002,016,0002,281,472
15May 29, 2021 15:165,04438,691,24414,123,0002,017,0002,281,472
16May 29, 2021 15:155,05538,970,69715,166,0001,011,0002,281,472
17May 29, 2021 15:155,06546,588,50515,195,0001,013,0002,281,472
18May 29, 2021 15:165,06848,523,97515,203,0001,013,0002,281,472
19May 29, 2021 15:165,203105,956,02116,648,25802,293,760
20May 29, 2021 15:155,21073,828,75716,672,85502,289,664
21May 29, 2021 15:165,23988,247,27716,764,53202,289,664
22May 29, 2021 15:165,24092,870,32016,767,55702,289,664
23May 29, 2021 15:155,24693,909,46016,786,67802,281,472
24May 29, 2021 15:155,25692,772,83916,817,99602,297,856