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:37Yuriy LyfenkoYuriy LyfenkoScore: 5,381Success
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:375,33832,592,36216,014,0001,067,0002,387,968
2May 17, 2021 19:375,35255,145,11515,111,0002,014,0002,265,088
3May 17, 2021 19:375,35341,688,31815,114,0002,015,0002,400,256
4May 17, 2021 19:375,36233,150,39815,141,0002,018,0002,396,160
5May 17, 2021 19:375,36833,947,17316,169,0001,010,0002,269,184
6May 17, 2021 19:375,37041,206,00315,164,0002,021,0002,396,160
7May 17, 2021 19:375,38134,958,34216,206,0001,012,0002,392,064
8May 17, 2021 19:375,38832,364,19414,199,0003,042,0002,527,232
9May 17, 2021 19:375,38844,712,12716,228,0001,014,0002,265,088
10May 17, 2021 19:375,58565,857,79817,872,74802,265,088
11May 17, 2021 19:375,60190,470,06317,922,73302,277,376
12May 17, 2021 19:375,60877,804,03417,944,92902,277,376