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 2, 2021 14:29Yuriy LyfenkoYuriy LyfenkoScore: 5,065Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:295,03835,125,47314,107,0002,015,0002,392,064
2Jun 2, 2021 14:295,04741,877,16015,142,0001,009,0002,269,184
3Jun 2, 2021 14:295,04832,231,78514,135,0002,019,0002,392,064
4Jun 2, 2021 14:295,05443,590,83415,162,0001,010,0002,527,232
5Jun 2, 2021 14:295,06235,454,47315,187,0001,012,0002,265,088
6Jun 2, 2021 14:295,06533,652,61214,182,0002,026,0002,265,088
7Jun 2, 2021 14:295,06531,901,47214,183,0002,026,0002,392,064
8Jun 2, 2021 14:295,07640,262,94714,213,0002,030,0002,265,088
9Jun 2, 2021 14:295,10330,339,48315,309,0001,020,0002,400,256
10Jun 2, 2021 14:295,25177,407,03116,802,35202,285,568
11Jun 2, 2021 14:295,26683,966,61516,851,72802,281,472
12Jun 2, 2021 14:295,29078,474,10916,928,61402,273,280