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 17, 2021 23:33Yuriy LyfenkoYuriy LyfenkoScore: 5,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:335,3291,485,861,81016,049,0001,003,0002,519,040
2May 17, 2021 23:335,3301,624,288,57015,050,0002,006,0002,260,992
3May 17, 2021 23:335,3312,374,305,88015,164,0001,895,0002,523,136
4May 17, 2021 23:335,339216,814,06814,071,0003,015,0002,392,064
5May 17, 2021 23:335,3452,619,300,43117,103,00002,265,088
6May 17, 2021 23:335,3531,227,674,92917,131,00002,260,992
7May 17, 2021 23:335,353294,929,21717,131,00002,265,088
8May 17, 2021 23:335,3901,989,672,66216,290,000958,0002,387,968
9May 17, 2021 23:335,3981,894,590,95216,314,000959,0002,523,136
10May 17, 2021 23:335,5302,474,570,01017,696,24602,281,472
11May 17, 2021 23:335,5322,233,385,99517,702,49102,277,376
12May 17, 2021 23:335,566536,374,86217,810,41302,285,568