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 3, 2021 18:21Yuriy LyfenkoYuriy LyfenkoScore: 5,043Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 18:214,995539,480,58714,985,000999,0002,281,472
2Jun 3, 2021 18:384,996542,840,03413,989,0001,998,0002,273,280
3Jun 3, 2021 18:384,999540,767,72113,997,0001,999,0002,281,472
4Jun 3, 2021 18:385,000538,603,38815,000,0001,000,0002,273,280
5Jun 3, 2021 18:215,006543,764,61614,016,0002,002,0002,273,280
6Jun 3, 2021 18:215,006538,240,58915,019,0001,001,0002,281,472
7Jun 3, 2021 18:385,008538,967,80615,024,0001,001,0002,281,472
8Jun 3, 2021 18:385,012541,779,86614,033,0002,004,0002,273,280
9Jun 3, 2021 18:215,013554,261,65914,035,0002,005,0002,273,280
10Jun 3, 2021 18:215,013543,895,06514,037,0002,005,0002,281,472
11Jun 3, 2021 18:215,016542,728,38314,046,0002,006,0002,273,280
12Jun 3, 2021 18:385,034537,641,71316,110,00002,408,448
13Jun 3, 2021 18:385,043540,851,06015,131,0001,008,0002,273,280
14Jun 3, 2021 18:385,052538,928,00214,145,0002,020,0002,281,472
15Jun 3, 2021 18:215,052543,366,46514,146,0002,020,0002,281,472
16Jun 3, 2021 18:215,053546,221,91816,168,00002,273,280
17Jun 3, 2021 18:215,062540,019,53416,197,00002,519,040
18Jun 3, 2021 18:385,074542,763,25715,224,0001,014,0002,404,352
19Jun 3, 2021 18:215,139572,761,56716,444,40602,293,760
20Jun 3, 2021 18:385,149574,052,24416,476,99702,252,800
21Jun 3, 2021 18:215,149579,759,53416,477,72102,289,664
22Jun 3, 2021 18:385,153574,323,43416,490,50202,252,800
23Jun 3, 2021 18:215,182578,356,01816,582,38402,301,952
24Jun 3, 2021 18:385,188586,579,43916,600,24302,289,664