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 21:14Yuriy LyfenkoYuriy LyfenkoScore: 5,375Success
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 21:145,3321,403,642,22316,059,0001,003,0002,523,136
2May 17, 2021 21:145,3341,661,835,16515,061,0002,008,0002,523,136
3May 17, 2021 21:145,3401,636,637,83915,077,0002,010,0002,527,232
4May 17, 2021 21:145,3601,472,762,82714,125,0003,026,0002,523,136
5May 17, 2021 21:145,3623,025,514,74717,157,00002,265,088
6May 17, 2021 21:145,3711,692,556,60817,187,00002,519,040
7May 17, 2021 21:145,3751,648,781,78016,244,000955,0002,260,992
8May 17, 2021 21:145,3751,253,567,22915,177,0002,023,0002,519,040
9May 17, 2021 21:145,378682,121,53516,254,000956,0002,523,136
10May 17, 2021 21:145,5892,828,534,76917,886,25102,281,472
11May 17, 2021 21:145,5892,417,743,51817,884,92102,273,280
12May 17, 2021 21:145,6091,349,994,98617,947,88902,277,376