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 25, 2021 15:39Yuriy LyfenkoYuriy LyfenkoScore: 5,104Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:395,03634,901,90315,107,0001,007,0002,396,160
2May 25, 2021 15:395,05947,401,05514,165,0002,023,0002,392,064
3May 25, 2021 15:395,06940,401,16315,208,0001,013,0002,387,968
4May 25, 2021 15:395,08740,802,63415,261,0001,017,0002,527,232
5May 25, 2021 15:395,09137,131,62515,272,0001,018,0002,527,232
6May 25, 2021 15:395,10237,498,04415,306,0001,020,0002,392,064
7May 25, 2021 15:395,10437,235,00914,291,0002,041,0002,265,088
8May 25, 2021 15:395,11343,406,60915,339,0001,022,0002,396,160
9May 25, 2021 15:395,12636,353,40415,379,0001,025,0002,265,088
10May 25, 2021 15:395,26843,777,93116,857,19702,273,280
11May 25, 2021 15:395,29274,844,44816,933,08302,281,472
12May 25, 2021 15:395,32351,595,61917,032,52402,273,280