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 24, 2021 18:20Dmitry DolgopolovDmitry DolgopolovScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:205,53140,111,35516,658,0001,041,0002,273,280
2May 24, 2021 18:205,54147,475,11616,688,0001,043,0002,273,280
3May 24, 2021 18:205,54733,597,36416,707,0001,044,0002,445,312
4May 24, 2021 18:205,57851,314,17915,867,0001,983,0002,535,424
5May 24, 2021 18:205,58444,734,16916,878,000992,0002,273,280
6May 24, 2021 18:205,58442,462,30616,878,000992,0002,535,424
7May 24, 2021 18:205,58840,651,09515,896,0001,987,0002,445,312
8May 24, 2021 18:205,59041,609,33115,900,0001,987,0002,273,280
9May 24, 2021 18:205,59542,361,88515,916,0001,989,0002,535,424
10May 24, 2021 18:205,75271,612,74518,405,41802,203,648
11May 24, 2021 18:205,75651,905,84018,420,28602,195,456
12May 24, 2021 18:205,79939,634,23818,555,20102,207,744