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 28, 2021 22:18Dmitry DolgopolovDmitry DolgopolovScore: 5,015Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 22:184,98438,305,63314,887,0001,063,0002,273,280
2May 28, 2021 22:184,99237,907,93813,977,0001,996,0002,535,424
3May 28, 2021 22:184,99339,284,18513,980,0001,997,0002,273,280
4May 28, 2021 22:184,99331,929,83113,981,0001,997,0002,445,312
5May 28, 2021 22:174,99338,515,61713,982,0001,997,0002,535,424
6May 28, 2021 22:174,99634,215,59313,988,0001,998,0002,273,280
7May 28, 2021 22:174,99733,087,80013,992,0001,998,0002,449,408
8May 28, 2021 22:175,00139,004,12314,003,0002,000,0002,273,280
9May 28, 2021 22:175,00541,481,35814,015,0002,002,0002,449,408
10May 28, 2021 22:175,00631,311,18014,018,0002,002,0002,535,424
11May 28, 2021 22:185,00738,481,63114,019,0002,002,0002,449,408
12May 28, 2021 22:185,01137,522,36514,030,0002,004,0002,273,280
13May 28, 2021 22:175,01528,999,39314,042,0002,006,0002,449,408
14May 28, 2021 22:175,01939,831,23814,054,0002,007,0002,273,280
15May 28, 2021 22:175,02332,261,58414,066,0002,009,0002,273,280
16May 28, 2021 22:185,02436,750,02514,068,0002,009,0002,441,216
17May 28, 2021 22:185,02431,487,73914,069,0002,009,0002,273,280
18May 28, 2021 22:185,02632,369,71614,074,0002,010,0002,273,280
19May 28, 2021 22:185,21860,946,81716,697,60702,211,840
20May 28, 2021 22:175,23339,895,80216,746,88402,195,456
21May 28, 2021 22:185,25795,891,54216,823,34202,203,648
22May 28, 2021 22:185,26751,006,09616,854,85002,203,648
23May 28, 2021 22:175,27965,985,42116,891,88702,207,744
24May 28, 2021 22:175,67360,348,13718,153,43002,195,456