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 11, 2021 11:15Dmitry DolgopolovDmitry DolgopolovScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2021 11:155,21332,194,82415,641,0001,042,0002,453,504
2Jun 11, 2021 11:155,21943,680,51715,658,0001,043,0002,531,328
3Jun 11, 2021 11:155,26945,139,29415,870,000991,0002,269,184
4Jun 11, 2021 11:155,27135,550,88815,876,000992,0002,531,328
5Jun 11, 2021 11:155,27443,692,89614,891,0001,985,0002,531,328
6Jun 11, 2021 11:155,27542,696,61414,895,0001,986,0002,531,328
7Jun 11, 2021 11:155,27642,722,46215,891,000993,0002,445,312
8Jun 11, 2021 11:155,27647,031,93414,898,0001,986,0002,453,504
9Jun 11, 2021 11:155,28142,843,51715,844,0001,056,0002,269,184
10Jun 11, 2021 11:155,41973,871,29617,340,64302,203,648
11Jun 11, 2021 11:155,42781,018,84617,366,53902,211,840
12Jun 11, 2021 11:155,46670,863,43817,492,37802,203,648