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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 14:585,03235,694,43414,089,0002,012,0002,265,088
2May 29, 2021 14:585,03832,878,04915,115,0001,007,0002,527,232
3May 29, 2021 14:585,05040,356,60214,140,0002,020,0002,396,160
4May 29, 2021 14:585,05441,340,84615,162,0001,010,0002,396,160
5May 29, 2021 14:585,07438,727,87116,238,00002,265,088
6May 29, 2021 14:585,07943,179,85015,238,0001,015,0002,392,064
7May 29, 2021 14:585,09650,894,64515,289,0001,019,0002,265,088
8May 29, 2021 14:585,11347,821,25316,362,00002,265,088
9May 29, 2021 14:585,11838,912,50714,331,0002,047,0002,265,088
10May 29, 2021 14:585,25776,601,72516,823,33002,277,376
11May 29, 2021 14:585,27283,114,17016,871,66502,281,472
12May 29, 2021 14:585,29292,125,32416,934,44202,269,184