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 15, 2023 06:52AmirAmirScore: 5,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:525,82744,707,71917,610,0001,035,0002,523,136
2May 15, 2023 06:525,84644,940,97117,667,0001,039,0002,289,664
3May 15, 2023 06:525,88244,738,32417,832,000990,0002,289,664
4May 15, 2023 06:525,88841,880,54816,860,0001,983,0002,269,184
5May 15, 2023 06:525,89545,174,84418,863,00002,269,184
6May 15, 2023 06:525,89542,644,00217,872,000992,0002,289,664
7May 15, 2023 06:525,89940,195,92216,889,0001,987,0002,289,664
8May 15, 2023 06:525,90149,966,32416,895,0001,987,0002,289,664
9May 15, 2023 06:525,90349,585,53216,903,0001,988,0002,531,328
10May 15, 2023 06:526,01191,736,94819,236,62902,301,952
11May 15, 2023 06:526,033103,807,57619,307,02002,301,952
12May 15, 2023 06:526,05784,084,35119,383,04602,297,856