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 25, 2021 06:28Yuriy LyfenkoYuriy LyfenkoScore: 5,135Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 06:285,08847,614,20015,265,0001,017,0002,265,088
2May 25, 2021 06:285,08931,914,86814,251,0002,035,0002,265,088
3May 25, 2021 06:285,09436,601,87115,282,0001,018,0002,265,088
4May 25, 2021 06:285,10441,136,65616,332,00002,265,088
5May 25, 2021 06:285,10535,970,95216,337,00002,527,232
6May 25, 2021 06:285,11449,954,96215,343,0001,022,0002,265,088
7May 25, 2021 06:285,13534,453,64416,432,00002,392,064
8May 25, 2021 06:285,14632,774,70215,438,0001,029,0002,265,088
9May 25, 2021 06:285,15832,534,17615,474,0001,031,0002,265,088
10May 25, 2021 06:285,28445,159,18416,909,87402,269,184
11May 25, 2021 06:285,30774,531,22016,981,54702,273,280
12May 25, 2021 06:285,32371,629,17117,032,13602,269,184