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 19:30Yuriy LyfenkoYuriy LyfenkoScore: 5,590Success
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 19:305,57946,187,99716,862,000991,0002,519,040
2May 11, 2021 19:305,58442,893,76216,878,000992,0002,519,040
3May 11, 2021 19:305,58541,891,76614,894,0002,978,0002,387,968
4May 11, 2021 19:305,58633,232,03514,896,0002,979,0002,519,040
5May 11, 2021 19:305,58647,592,81115,890,0001,986,0002,265,088
6May 11, 2021 19:305,58745,797,28216,884,000993,0002,519,040
7May 11, 2021 19:305,59037,299,16515,902,0001,987,0002,510,848
8May 11, 2021 19:305,59442,919,73216,907,000994,0002,506,752
9May 11, 2021 19:305,59842,692,80415,925,0001,990,0002,519,040
10May 11, 2021 19:305,77281,113,45618,470,65002,285,568
11May 11, 2021 19:305,80785,826,78318,582,30802,273,280
12May 11, 2021 19:305,82672,093,36918,642,66802,277,376