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 16:00Dmitry DolgopolovDmitry DolgopolovScore: 5,031Success
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 16:005,00635,748,43814,018,0002,002,0002,449,408
2May 29, 2021 16:005,01139,580,61214,031,0002,004,0002,437,120
3May 29, 2021 16:005,01633,322,03614,045,0002,006,0002,535,424
4May 29, 2021 16:005,01639,062,81514,045,0002,006,0002,449,408
5May 29, 2021 16:005,02136,131,04914,058,0002,008,0002,273,280
6May 29, 2021 16:005,02233,284,15014,062,0002,008,0002,441,216
7May 29, 2021 16:005,03129,582,72614,088,0002,012,0002,441,216
8May 29, 2021 16:005,03831,379,04814,106,0002,015,0002,535,424
9May 29, 2021 16:005,04429,058,52714,123,0002,017,0002,535,424
10May 29, 2021 16:005,21366,996,66316,682,04402,207,744
11May 29, 2021 16:005,22185,572,29616,708,63202,191,360
12May 29, 2021 16:005,24183,107,00816,770,10302,215,936