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:21Dmitry DolgopolovDmitry DolgopolovScore: 5,055Success
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:215,02330,562,00714,063,0002,009,0002,273,280
2May 24, 2021 18:215,03339,187,38014,092,0002,013,0002,535,424
3May 24, 2021 18:215,03537,964,16614,098,0002,014,0002,449,408
4May 24, 2021 18:215,04635,977,55014,130,0002,018,0002,453,504
5May 24, 2021 18:215,05137,891,86714,144,0002,020,0002,535,424
6May 24, 2021 18:215,05339,886,80514,147,0002,021,0002,449,408
7May 24, 2021 18:215,05541,256,53114,154,0002,022,0002,273,280
8May 24, 2021 18:215,07431,864,27714,208,0002,029,0002,535,424
9May 24, 2021 18:215,07835,640,22014,219,0002,031,0002,441,216
10May 24, 2021 18:215,32651,786,53617,042,92602,203,648
11May 24, 2021 18:215,35993,106,14217,148,32102,203,648
12May 24, 2021 18:215,37563,747,97517,198,90802,260,992