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 29, 2021 08:03Dmitry DolgopolovDmitry DolgopolovScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 08:035,22436,273,09615,673,0001,044,0002,445,312
2May 29, 2021 08:035,22944,822,01415,689,0001,045,0002,273,280
3May 29, 2021 08:035,23645,081,46315,708,0001,047,0002,273,280
4May 29, 2021 08:035,27232,613,09514,886,0001,984,0002,441,216
5May 29, 2021 08:035,27345,156,46614,889,0001,985,0002,449,408
6May 29, 2021 08:035,27640,098,75214,897,0001,986,0002,535,424
7May 29, 2021 08:035,27832,159,39914,903,0001,987,0002,531,328
8May 29, 2021 08:035,27946,106,05614,907,0001,987,0002,428,928
9May 29, 2021 08:035,28041,173,71815,902,000993,0002,535,424
10May 29, 2021 08:035,42677,039,88417,363,58902,199,552
11May 29, 2021 08:035,47644,176,49917,523,75902,211,840
12May 29, 2021 08:035,53044,202,08217,694,67002,203,648