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 27, 2021 18:30Yuriy LyfenkoYuriy LyfenkoScore: 5,062Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:305,02337,658,23214,065,0002,009,0002,265,088
2May 27, 2021 18:305,02731,219,05015,081,0001,005,0002,387,968
3May 27, 2021 18:305,03132,163,58215,093,0001,006,0002,392,064
4May 27, 2021 18:305,04433,501,49814,125,0002,017,0002,265,088
5May 27, 2021 18:305,04933,907,09215,147,0001,009,0002,527,232
6May 27, 2021 18:305,05332,157,75914,147,0002,021,0002,265,088
7May 27, 2021 18:305,06242,092,22314,174,0002,024,0002,265,088
8May 27, 2021 18:305,07143,784,11814,200,0002,028,0002,400,256
9May 27, 2021 18:305,08239,886,00614,229,0002,032,0002,265,088
10May 27, 2021 18:305,24188,046,31916,771,37002,273,280
11May 27, 2021 18:305,25083,941,51216,799,33602,273,280
12May 27, 2021 18:305,27043,987,41516,863,00402,285,568