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 19:11Yuriy LyfenkoYuriy LyfenkoScore: 5,358Success
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 19:115,32290,831,47116,030,0001,001,0002,269,184
2May 17, 2021 19:115,330386,319,39216,053,0001,003,0002,523,136
3May 17, 2021 19:115,337332,354,38017,078,00002,396,160
4May 17, 2021 19:115,337246,976,36215,181,0001,897,0002,265,088
5May 17, 2021 19:115,340407,289,02415,078,0002,010,0002,265,088
6May 17, 2021 19:115,342303,056,41814,246,0002,849,0002,269,184
7May 17, 2021 19:115,347832,638,31116,104,0001,006,0002,265,088
8May 17, 2021 19:115,351118,103,40714,270,0002,854,0002,269,184
9May 17, 2021 19:115,352774,155,17217,127,00002,392,064
10May 17, 2021 19:115,353982,560,50815,225,0001,903,0002,269,184
11May 17, 2021 19:115,353647,712,51417,128,00002,265,088
12May 17, 2021 19:115,357981,323,05117,142,00002,265,088
13May 17, 2021 19:115,358893,177,57914,288,0002,857,0002,265,088
14May 17, 2021 19:115,365747,610,75315,260,0001,907,0002,265,088
15May 17, 2021 19:115,366214,659,58015,152,0002,020,0002,265,088
16May 17, 2021 19:115,383955,605,10015,200,0002,026,0002,269,184
17May 17, 2021 19:115,384329,640,54816,272,000957,0002,269,184
18May 17, 2021 19:115,397713,135,13017,270,00002,260,992
19May 17, 2021 19:115,522600,121,23417,669,28102,277,376
20May 17, 2021 19:115,532337,350,92617,702,46802,277,376
21May 17, 2021 19:115,533553,745,43417,704,84302,281,472
22May 17, 2021 19:115,548840,964,73217,752,75402,281,472
23May 17, 2021 19:115,552423,586,43417,765,24002,277,376
24May 17, 2021 19:115,553726,934,92717,769,48502,281,472