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 4, 2021 05:06evgenikwtevgenikwtScore: 5,941Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 05:065,89744,225,89017,878,000993,0002,265,088
2Jun 4, 2021 05:065,90149,793,73716,895,0001,987,0002,523,136
3Jun 4, 2021 05:065,90943,180,01817,915,000995,0002,379,776
4Jun 4, 2021 05:065,91850,776,61717,943,000996,0002,265,088
5Jun 4, 2021 05:065,92246,022,55416,955,0001,994,0002,383,872
6Jun 4, 2021 05:065,93348,646,06816,986,0001,998,0002,392,064
7Jun 4, 2021 05:065,94143,569,18018,010,0001,000,0002,506,752
8Jun 4, 2021 05:065,94343,321,30818,018,0001,001,0002,265,088
9Jun 4, 2021 05:065,94545,000,00318,024,0001,001,0002,527,232
10Jun 4, 2021 05:066,04470,718,15219,339,29202,285,568
11Jun 4, 2021 05:066,05175,785,89919,363,41502,277,376
12Jun 4, 2021 05:066,06388,112,75419,400,85002,240,512