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 13, 2021 23:02evgenikwtevgenikwtScore: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 23:025,28234,340,36214,914,0001,988,0002,523,136
2Jun 13, 2021 23:025,28334,788,45214,918,0001,989,0002,273,280
3Jun 13, 2021 23:025,28445,396,09414,919,0001,989,0002,265,088
4Jun 13, 2021 23:025,29233,270,11314,941,0001,992,0002,379,776
5Jun 13, 2021 23:025,32034,744,52915,021,0002,002,0002,527,232
6Jun 13, 2021 23:025,32143,696,83616,025,0001,001,0002,265,088
7Jun 13, 2021 23:025,32647,845,13616,042,0001,002,0002,265,088
8Jun 13, 2021 23:025,33545,307,48716,069,0001,004,0002,265,088
9Jun 13, 2021 23:025,34139,699,42916,085,0001,005,0002,379,776
10Jun 13, 2021 23:025,48396,862,79817,544,25302,240,512
11Jun 13, 2021 23:025,49473,725,83917,580,36202,285,568
12Jun 13, 2021 23:025,49584,800,97917,584,33702,289,664