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 30, 2021 15:21Yuriy LyfenkoYuriy LyfenkoScore: 5,193Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 15:215,15338,198,90415,459,0001,030,0002,383,872
2May 30, 2021 15:215,15742,238,44415,472,0001,031,0002,260,992
3May 30, 2021 15:215,15738,793,09016,503,00002,265,088
4May 30, 2021 15:215,16836,024,05815,505,0001,033,0002,523,136
5May 30, 2021 15:215,17433,324,65915,523,0001,034,0002,383,872
6May 30, 2021 15:215,18440,811,03015,552,0001,036,0002,260,992
7May 30, 2021 15:215,19335,638,50914,540,0002,077,0002,523,136
8May 30, 2021 15:215,20742,292,49715,620,0001,041,0002,383,872
9May 30, 2021 15:215,20938,239,99415,628,0001,041,0002,387,968
10May 30, 2021 15:215,33358,020,72117,064,84702,265,088
11May 30, 2021 15:215,34483,009,49817,100,07902,281,472
12May 30, 2021 15:215,38396,709,98017,225,94902,273,280