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 17, 2021 15:11Yuriy LyfenkoYuriy LyfenkoScore: 5,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:115,3093,943,010,73216,988,00002,523,136
2May 17, 2021 15:115,313589,530,36017,003,00002,265,088
3May 17, 2021 15:115,3183,083,315,85314,015,0003,003,0002,527,232
4May 17, 2021 15:115,3201,141,202,59616,024,0001,001,0002,265,088
5May 17, 2021 15:115,321900,664,97717,027,00002,265,088
6May 17, 2021 15:115,3232,695,157,01516,032,0001,002,0002,260,992
7May 17, 2021 15:115,3233,497,192,22514,028,0003,006,0002,265,088
8May 17, 2021 15:115,3263,221,747,94615,038,0002,005,0002,527,232
9May 17, 2021 15:115,3294,957,732,49716,051,0001,003,0002,527,232
10May 17, 2021 15:115,3314,185,115,94816,112,000947,0002,523,136
11May 17, 2021 15:115,3412,479,057,40016,142,000949,0002,523,136
12May 17, 2021 15:115,3442,882,973,01714,084,0003,018,0002,265,088
13May 17, 2021 15:115,3442,107,014,42316,151,000950,0002,265,088
14May 17, 2021 15:115,3542,098,297,35916,183,000951,0002,265,088
15May 17, 2021 15:115,3562,868,970,25315,124,0002,016,0002,527,232
16May 17, 2021 15:115,3622,137,654,30916,206,000953,0002,265,088
17May 17, 2021 15:115,365131,160,05515,260,0001,907,0002,269,184
18May 17, 2021 15:115,3712,581,552,76914,155,0003,033,0002,260,992
19May 17, 2021 15:115,4842,455,334,86717,547,58002,273,280
20May 17, 2021 15:115,4962,222,831,25517,587,02902,281,472
21May 17, 2021 15:115,4993,711,538,05217,597,96302,277,376
22May 17, 2021 15:115,500636,749,16117,600,68802,273,280
23May 17, 2021 15:115,5045,036,733,05217,614,12502,285,568
24May 17, 2021 15:115,5111,618,706,01317,635,84302,285,568