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 11, 2021 17:37Yuriy LyfenkoYuriy LyfenkoScore: 5,611Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:375,58248,671,74115,877,0001,984,0002,519,040
2May 11, 2021 17:375,58245,638,46216,871,000992,0002,383,872
3May 11, 2021 17:375,58651,062,87016,881,000993,0002,396,160
4May 11, 2021 17:375,59248,901,05515,905,0001,988,0002,396,160
5May 11, 2021 17:375,59842,339,23515,924,0001,990,0002,519,040
6May 11, 2021 17:375,60647,052,52814,949,0002,989,0002,519,040
7May 11, 2021 17:375,61150,543,32414,963,0002,992,0002,387,968
8May 11, 2021 17:375,61845,230,10815,979,0001,997,0002,392,064
9May 11, 2021 17:375,62343,917,19116,995,000999,0002,519,040
10May 11, 2021 17:375,98584,218,25419,153,26502,281,472
11May 11, 2021 17:376,01567,591,19619,247,86002,277,376
12May 11, 2021 17:376,04862,507,05019,353,50102,289,664