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 listAug 11, 2024 01:06Yuriy LyfenkoYuriy LyfenkoScore: 4,384Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 01:064,352540,271,18311,936,0001,989,0002,273,280
2Aug 11, 2024 01:064,358535,073,17311,955,0001,992,0002,535,424
3Aug 11, 2024 01:064,360537,534,00511,960,0001,993,0002,535,424
4Aug 11, 2024 01:064,361541,126,65511,962,0001,993,0002,453,504
5Aug 11, 2024 01:064,362534,024,80811,964,0001,994,0002,285,568
6Aug 11, 2024 01:064,363538,234,71611,968,0001,994,0002,535,424
7Aug 11, 2024 01:064,364535,194,79812,891,0001,074,0002,273,280
8Aug 11, 2024 01:064,366534,248,48011,976,0001,996,0002,535,424
9Aug 11, 2024 01:064,367536,453,49311,978,0001,996,0002,285,568
10Aug 11, 2024 01:064,368536,314,18811,980,0001,996,0002,273,280
11Aug 11, 2024 01:064,376532,583,11212,002,0002,000,0002,535,424
12Aug 11, 2024 01:064,382537,592,02012,020,0002,003,0002,535,424
13Aug 11, 2024 01:064,384537,596,68812,024,0002,004,0002,273,280
14Aug 11, 2024 01:064,385536,114,69312,029,0002,004,0002,535,424
15Aug 11, 2024 01:064,388532,925,45812,035,0002,005,0002,535,424
16Aug 11, 2024 01:064,388542,657,23812,036,0002,006,0002,273,280
17Aug 11, 2024 01:064,388536,774,38612,036,0002,006,0002,535,424
18Aug 11, 2024 01:064,395540,878,01012,055,0002,009,0002,535,424
19Aug 11, 2024 01:064,570574,831,07414,625,36902,195,456
20Aug 11, 2024 01:064,576569,557,91714,641,96702,256,896
21Aug 11, 2024 01:064,590576,870,89614,688,94202,252,800
22Aug 11, 2024 01:064,591567,612,17214,692,47602,211,840
23Aug 11, 2024 01:064,603575,937,79114,728,03702,256,896
24Aug 11, 2024 01:064,624574,230,53214,796,94102,334,720