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 28, 2021 21:02Yuriy LyfenkoYuriy LyfenkoScore: 5,132Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 21:025,05443,786,65814,153,0002,021,0002,387,968
2May 28, 2021 21:025,09333,907,06614,260,0002,037,0002,392,064
3May 28, 2021 21:025,09736,824,52216,310,00002,523,136
4May 28, 2021 21:025,09838,165,56015,294,0001,019,0002,506,752
5May 28, 2021 21:025,10733,356,23315,321,0001,021,0002,387,968
6May 28, 2021 21:025,11638,624,66216,370,00002,265,088
7May 28, 2021 21:025,13231,627,46915,396,0001,026,0002,269,184
8May 28, 2021 21:025,13441,304,57715,403,0001,026,0002,265,088
9May 28, 2021 21:025,13533,347,56916,432,00002,265,088
10May 28, 2021 21:025,30974,652,56616,989,10402,281,472
11May 28, 2021 21:025,35447,911,28717,131,64602,281,472
12May 28, 2021 21:025,50365,751,30117,608,51302,269,184