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 21:55Yuriy LyfenkoYuriy LyfenkoScore: 5,033Success
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 21:555,00838,075,40015,025,0001,001,0002,404,352
2May 29, 2021 21:555,01142,434,51414,030,0002,004,0002,281,472
3May 29, 2021 21:555,02332,989,03614,063,0002,009,0002,400,256
4May 29, 2021 21:555,02634,864,77014,073,0002,010,0002,408,448
5May 29, 2021 21:555,03242,900,56015,096,0001,006,0002,281,472
6May 29, 2021 21:555,03343,613,86715,099,0001,006,0002,519,040
7May 29, 2021 21:555,03331,163,33015,100,0001,006,0002,404,352
8May 29, 2021 21:555,04333,406,86515,131,0001,008,0002,400,256
9May 29, 2021 21:555,06537,971,82315,196,0001,013,0002,281,472
10May 29, 2021 21:555,20488,084,76616,651,68502,297,856
11May 29, 2021 21:555,21775,275,01616,693,08002,281,472
12May 29, 2021 21:555,23382,587,09616,744,43902,285,568