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 listSep 7, 2022 02:10Yuriy LyfenkoYuriy LyfenkoScore: 4,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:104,403538,630,31312,076,0002,012,0002,523,136
2Sep 7, 2022 02:104,405544,152,86812,083,0002,013,0002,260,992
3Sep 7, 2022 02:104,419539,907,36413,130,0001,010,0002,523,136
4Sep 7, 2022 02:104,424540,153,43112,136,0002,022,0002,260,992
5Sep 7, 2022 02:104,429544,237,58513,160,0001,012,0002,265,088
6Sep 7, 2022 02:104,439541,635,15114,205,00002,523,136
7Sep 7, 2022 02:104,443541,481,03512,187,0002,031,0002,523,136
8Sep 7, 2022 02:104,453540,336,57012,215,0002,035,0002,265,088
9Sep 7, 2022 02:104,456546,971,76512,222,0002,037,0002,260,992
10Sep 7, 2022 02:104,603572,424,03014,728,48902,240,512
11Sep 7, 2022 02:104,617577,589,89314,772,90202,277,376
12Sep 7, 2022 02:104,639574,372,55814,845,53802,281,472