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 18, 2021 13:08Yuriy LyfenkoYuriy LyfenkoScore: 5,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:085,3972,454,098,41815,238,0002,031,0002,265,088
2May 18, 2021 13:085,408426,920,10417,304,00002,265,088
3May 18, 2021 13:075,4182,397,448,75515,413,0001,926,0002,260,992
4May 18, 2021 13:075,4272,756,365,61015,438,0001,929,0002,260,992
5May 18, 2021 13:075,428606,128,78115,440,0001,930,0002,527,232
6May 18, 2021 13:085,4331,499,894,03815,455,0001,931,0002,523,136
7May 18, 2021 13:075,4331,780,914,60816,362,0001,022,0002,523,136
8May 18, 2021 13:075,4352,407,641,07517,393,00002,523,136
9May 18, 2021 13:075,4402,121,621,51415,473,0001,934,0002,260,992
10May 18, 2021 13:085,442249,961,19116,390,0001,024,0002,392,064
11May 18, 2021 13:085,446109,544,79216,458,000968,0002,260,992
12May 18, 2021 13:085,4522,975,078,11715,507,0001,938,0002,260,992
13May 18, 2021 13:075,463297,589,48016,455,0001,028,0002,265,088
14May 18, 2021 13:075,4652,253,639,07415,546,0001,943,0002,392,064
15May 18, 2021 13:085,4751,438,827,07715,574,0001,946,0002,260,992
16May 18, 2021 13:085,479220,704,14915,586,0001,948,0002,523,136
17May 18, 2021 13:075,4811,255,115,76914,616,0002,923,0002,523,136
18May 18, 2021 13:085,4841,140,084,82816,516,0001,032,0002,523,136
19May 18, 2021 13:085,5971,186,946,02617,908,94202,281,472
20May 18, 2021 13:085,6051,649,758,42817,934,87402,285,568
21May 18, 2021 13:075,609438,318,42917,948,29702,281,472
22May 18, 2021 13:075,6133,070,498,62317,960,40802,289,664
23May 18, 2021 13:085,649326,317,16918,077,31002,281,472
24May 18, 2021 13:075,7651,831,310,12118,446,97202,285,568