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 29, 2021 23:14Yuriy LyfenkoYuriy LyfenkoScore: 5,052Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 23:145,00841,940,20914,023,0002,003,0002,281,472
2May 29, 2021 23:145,01139,195,17114,032,0002,004,0002,404,352
3May 29, 2021 23:145,02433,287,39514,067,0002,009,0002,281,472
4May 29, 2021 23:145,02838,310,22915,083,0001,005,0002,281,472
5May 29, 2021 23:145,03446,845,91215,104,0001,006,0002,281,472
6May 29, 2021 23:145,03833,361,06014,107,0002,015,0002,412,544
7May 29, 2021 23:145,05238,445,12515,156,0001,010,0002,281,472
8May 29, 2021 23:145,06831,699,51714,190,0002,027,0002,281,472
9May 29, 2021 23:145,06834,703,36415,205,0001,013,0002,281,472
10May 29, 2021 23:145,19682,644,42816,626,54802,289,664
11May 29, 2021 23:145,20880,929,44316,666,16102,293,760
12May 29, 2021 23:145,22681,914,45216,723,30202,293,760